Design comparison
Community feedback
- @VCaramesPosted about 2 years ago
Hey, some suggestions to improve you code:
-
You Alway want to have separate files for you HTML/CSS code to make it easier to read and keep your code clean.
-
When you use images/icons, you want to include an Alt text tag with them. Inside that Alt Tag you want to describe what the image is; they need to be readable. Assume you’re describing the image/icon to someone.
If the image/icon is decorative, then you will leave the Alt tag blank; alt=“”
- You want to wrap your "NFT image", "Equilibrium #3429" and "Jules Wyvern" in anchor tags <a>. This is because they are meant to be links that lead the user to another part of a site.
Happy Coding!
Marked as helpful1 -
- @correlucasPosted about 2 years ago
👾Hi @vid-szabi, congratulations on your solution!
I’ve few suggestions for you that you can consider adding to your code:
Add
<main>
instead of<div>
to wrap the card container. This way you show that this is the main block of content and also replace the div with a semantic tag.Replace the
<p>
containing the main title with<h1>
note that this title is the main heading for this page and every page needs one h1 to show which is the most important heading. Use the sequence h1 h2 h3 h4 h5 to show the hierarchy of your titles in the level of importance, never jump a level.Add the website favicon inserting the svg image inside the
<head>
.<link rel="icon" type="image/x-icon" href="./images/favicon-32x32.png">
✌️ I hope this helps you and happy coding!
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