Design comparison
Solution retrospective
Hello everyone,
I don't really have questions about this challenge, but you can tell me how I can improve my code !
Thanks for checking my work.
Community feedback
- @elaineleungPosted about 2 years ago
Hi Raink31, great work! π I don't have a lot to comment on, just three things:
-
Right now you're missing a
main
landmark, which is one of the reasons you're getting some issues in your report. I see that you have aclass="main"
for your container, but you still need the semantic HTML here, so just try changing that to<main class="main">
. -
Great use of
article
! All you need to do is to change the title from ap
to a heading tag, and that would get rid of the HTML validation issue of articles lacking headings. -
Right now, the font actually changes during loading, and that is because of the order of the lines in your code. You should try to have the font families load before the stylesheet, and right now, you have the font family in the style tags, which then is placed after the stylesheet links. What I would do is, I would just copy the
<link>
code from Google Fonts instead of the import one, and then make sure that link is placed before the stylesheet, not after.
Hope this helps you out!
Marked as helpful1 -
- @hyrongennikePosted about 2 years ago
Hi,
Great job on the challenge just a tip, you can remove the
body {width: 100vw;}
on the body it results in a horizontal scrollbar at the bottom.Marked as helpful1
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