Design comparison
Community feedback
- @itswebcoderPosted almost 2 years ago
This is accurate but in this code there will be issue in your height. I hope you find it useful! 😄 Above all, the solution you submitted is great! Replace <div class="main-body"> with the main tag, v <div class="heading"> with <h1>, <div class="par"> with <p>, <div class="text"> with <h2>, <div class="btn">with <button> and <div class="cancel"> with <a> add aria-hidden=" true" to the <a> to fix the accessibility. issue. click here for more on web-accessibility and semantic html .
Marked as helpful0 - @HassiaiPosted almost 2 years ago
Replace <div class="main-body"> with the main tag, v <div class="heading"> with <h1>, <div class="par"> with <p>, <div class="text"> with <h2>, <div class="btn">with <button> and <div class="cancel"> with <a> add aria-hidden=" true" to the <a> to fix the accessibility. issue. click here for more on web-accessibility and semantic html .
To center .main-body page, add min-height:100vh; display: flex; align-items: center: justify-content: center; or min-height:100vh; display: grid place-items: center to the body.
The background image of the body is not visible, to make visible add "." to the beginning of the url value. url(./images/pattern-background-desktop.svg) apply this to the music icon and add a bbackground-repeat: no-repeat and background-size: contain to the body.
You forgot to give the proceed payement a box-shadow
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
0
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