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

Results summary component

Mishael Josephβ€’ 210

@Mishael-Joe

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello All, I'm Mishael by name. Building this project was cool, but I'm unsure if using a button to display the result was the right call. Can someone check my code, also let me know if I'm on the right track.

Community feedback

Gio Curaβ€’ 650

@GioCura

Posted

Hi! πŸ‘‹ Good job finishing the project. Yes, a <button> is not an appropriate element to display the result, since it is not a good practice of semantic html. That is why you are having an html validation error saying that you cannot have <h1> under your <button>. I think it's okay to use a <div> instead.

Hope this helps!

Marked as helpful

0

Mishael Josephβ€’ 210

@Mishael-Joe

Posted

@GioCura Thanks, I'll make the needed correction.

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