This challenge was completed with sass and sass variables
Design comparison
Solution retrospective
Hello everyone✌🏻, if you check my code and give me suggestions to how improve it, I would be very appreciated, Thanks
Community feedback
- @anoshaahmedPosted almost 3 years ago
hey good job on this challenge! your report above shows a few issues though:
- wrap everything in your body in
<main>
OR use semantic tags! if you're usingdiv
right afterbody
, then give them arole=""
; however, it's a little frowned upon to userole
right after body, so try to stick with semantic tags instead. you can read more about landmarks here - you should have at least one
<h1>
in your webpage
here is a list i made of accessibility issues & best practices
hope this helps :))
Marked as helpful0 - wrap everything in your body in
- @NaveenGumastePosted almost 3 years ago
Hay ! Good Job you made it look nearly perfect to the preview
These below mentioned tricks will help you remove any Accessibility Issues
-> Add Main tag after body like it should be your container
-> For 1st heading or h1 tag, use header tag and then inside the header put your h1 or h2 etc
-> But use header tag only once in main heading element.
Keep up the good work!
Marked as helpful0 - @RioCantrePosted almost 3 years ago
Hello there! Nice job with this one. Looking at your solution, I would suggest the following for you...
- Inside the
.component
adjust the width into 355px and addmargin-top: 5rem;
- It's common to use
div
to wrap the content but it's better to use a specific tag for semantic likemain
.Wrap the.component
withmain
tag
Overall you did well and Keep it going! Cheers!
Marked as helpful0 - Inside the
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