- When code starts - if you click toggle UNDEFINED appears. Didn't understood how to change that, any feedback.
rogierwiertz
@rogierwiertz
All comments
- rogierwiertz• 20
@rogierwiertz
Posted
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.
Marked as helpful
0