Hi well done for this challenge,
I'll give this link you check out the mistake for HTML and CSS. 3WC validator.
It's better to use em
or rem
instead of px
. FreeCodeCamp.
FreeCodeCamp.
It's easier to start with a mobile-approach FreeCodeCamp.
Hope to be helpful.
Marked as helpful
@Lo-Deck Thank you so much for your feedback!
- I noticed when I checked my mistakes using the validator it said I needed a header for my section, but the challenge didn't need a header like that, so maybe I should've used divs instead of sections since it was all just to fix margins and paddings
- Also noted on how better it is to use em or rem instead of px! really helpful and will practice that from now on
- And got it! will start with the mobile-approach first, it really does seem easier for responsiveness
Ok, your section need a h2
or h3
instead yes you can use a div
,
for this challenge you don't really need a h2
or else.
However you have to set a h1
on each page, one per page, and you set it like that :
HTML :
<h1 class="sr-only">age calculator app</h1>
It's only for screen-reader and SEO, and after you hide with CSS. MDN
Marked as helpful
Okay got it! This is great help thank you so much I'll keep this in mind
@Lo-Deck Hey wanted to just thank you again! I was able to take out all my HTML and CSS mistakes cause of your feedback, real thankful!