Design comparison
Community feedback
- Account deleted
Hi
The id attribute is meant to be a unique name identifier, you can not have more than one element with the same id. "How did we do" should be wrapped in an <h1> tag which will get rid of the warning. Pages always include a <h1> and it is not recommended to skip header levels but you can have multiple <h1> on a page.
The thank you card markup should be moved into <main>
In your styles you need to make <body> a flex or grid container for justify-content and align-items to work otherwise they are not having any effect, after that you can remove the code you are using to center <main>.
I would suggest you read the mdn forms guide as I think a better option would have been to use a form with radio buttons and some client side verification.
I hope this helps
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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