Design comparison
Solution retrospective
Here is another solution and I hope to not find lots of errors or accessibility issues. Any tips or suggestions would be appreciated :)
Community feedback
- @vanzasetiaPosted almost 3 years ago
Hi There! 👋
Congratulations on finishing this challenge! 👏
I notice that you are importing a lot of font families. Please only import the necessary font families. 🙂
<link href="https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@200;300;400;500;600;....more font families >
Anyway, this
<link rel="stylesheet" href="https://fonts.google.com/specimen/Open+Sans">
also doesn't do anything, so you can remove it.I have some feedback on this solution:
- Accessibility
- The logo should in the
header
landmark. Also, there's nonav
element here. - The current
header
should be asection
. It's commonly known as the hero section. - So the page structure should look something like this:
- The logo should in the
<body> <header> it contains the logo and the "Try it free" link </header> <main> section elements live here... </main> <footer> it contains phone number, email, etc... </footer> </body>
- Always wrap text content with a meaningful element (
p
). Only usediv
andspan
for styling purposes. <h1>Ready To Build Your Community?</h1>
this should beh2
. Keep in mind that, deadings must be in a logical order (start fromh1
toh6
). Heading tags can be used by users of assistive technology to navigate the website. If headings are not in a logical order, those users might get confused.- Wrap the
input
elements withform
element. - Use
button
withtype="submit"
instead ofinput
. It's a legacy of the browser. - Styling
- I would recommend writing the styling using the mobile-first approach. It often makes me write less code.
- Prefer unitless numbers for line-height values to avoid unexpected results. The MDN documentation explains it well.👍
That's it! Hopefully, this is helpful! 😁
1@huhu0000Posted almost 3 years ago@vanzasetia Wow that's exactly what I wanted to know, honestly I do appreciate your efforts 👍👍
0 - Accessibility
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