@MantasGarlauskasSubmitted almost 3 years ago
- When code starts - if you click toggle UNDEFINED appears. Didn't understood how to change that, any feedback.
Nice job!
You get UNDEFINED, because the initial text content of the span with id 'pageviewsDOM' has an extra space at the end.
<div class="pageviews"> <span id="pageviewsDOM">100K </span><span> PAGEVIEWS</span> </div>The property '100K ' doesn't exist on prices.yearly.