Design comparison
Solution retrospective
Still confused to adjust width and no idea about best approaches.
What specific areas of your project would you like help with?1.Semantic tags 2.Width, Height adjustment 3.All of the missing parts i didn't notice
Community feedback
- @StroudyPosted 2 months ago
Amazing job with this! You’re making fantastic progress. Here are some small tweaks that might take your solution to the next level…
- I would put these into a
<ul> <li>
, and the text should be wrapped with a<a>
so it is accessible with a keyboard using the tab key, Using an<a>
tag for navigation is semantically correct, improves accessibility for screen readers, and ensures consistent behavior across browsers, unlike a<button>
or a<div>
not intended for links.
<section class="section--contact"> <button class="btn--primary">GitHub</button> <button class="btn--primary">Frontend Mentor</button> <button class="btn--primary">LinkedIn</button> <button class="btn--primary">Twitter</button> <button class="btn--primary">Instagram</button> </section>
-
On your
body
you have awidth: 320px;
I would change this frompx
torem
for consistency and responsiveness through out your site, -
Maby explore downloading the fonts and add them to your CSS with
@font-face
, Downloading fonts and using@font-face
in CSS is beneficial because it improves performance by reducing external requests, provides better control over font styling, and ensures consistent rendering across different browsers and devices. -
Using
rem
orem
units in@media
queries is better thanpx
because they are relative units that adapt to user settings, like their preferred font size. This makes your design more responsive and accessible, ensuring it looks good on different devices and respects user preferences.
You’re doing fantastic! I hope these tips help you as you continue your coding journey. Stay curious and keep experimenting—every challenge is an opportunity to learn. Have fun, and keep coding with confidence! 🌟
Marked as helpful1 - I would put these into a
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