Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive pricing component with CSS grid, JS

@MantasGarlauskas

Desktop design screenshot for the Interactive pricing component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


  • When code starts - if you click toggle UNDEFINED appears. Didn't understood how to change that, any feedback.

Community feedback

@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

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord