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

Price component with Vanilla JS

@RickHalmoguera

Desktop design screenshot for the Pricing component with toggle coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


If anyone can tell how to do or where to find de documentation to change the price only with html it will be awesome!!!!

Community feedback

@Coltensiemer

Posted

Hey Ricardo!

This solution looks great! You did a great good with the layout and accuracy.

There is something I noticed on your HTML. For inputs it is best practice to make sure your have a label for the input for accessibility.

The Label needs to have a 'for' attribute that matches the inputs 'name' attribute.

I recommend to read up on this. Here is a great resource! https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

Keep it up!

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