Design comparison
Solution retrospective
This is my first project using TailwindCSS. It's a bit hard to get around but the documentation makes it straightforward. I would really appreciate any feedback on making this project better. Thanks 😁.
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this one. The desktop layout right now looks fine, just the hero-image is a bit wider than the design making the text on its right side a bit pushed. At the moment, the site is not responsive from other screen-sizes, for example, going into 850px, you can see that the layout is being hidden by the screen since the layout is not responding well. Mobile state looks great though.
Also, just a quick note, if you are just starting out frontend or just web dev in general, stay away for now from frameworks like tailwindcss and just use the native css or scss so that you will properly grasp those fundamentals:>
Some other suggestions would be:
- For this one, you could have used this markup:
header /> <main /> <footer />
This way, all content of your page will be inside their own respective landmark element. Since if you look at the design, it makes sense to create those landmark since there are elements that belongs to each one.
- Remember that a website-logo is one of the meaningful images on a site so use proper
alt
for it. Use the website's name as the value likealt="huddle"
. - When using
img
tag, you don't need to add words that relates to "graphic" such as "logo" and others, sinceimg
is already an image so no need to describe it as one. - The hero-image to be honest is not really informative since it is just a vector. Decorative images should be hidden for screen-reader at all times by using
alt=""
andaria-hidden="true"
to theimg
tag or onlyaria-hidden="true"
if the image is usingsvg
. - Also when you are using
alt
make sure that you are using descriptive text that really gives meaning on what the image is portraying or what the image is all about. - The register link could have just been used by itself and not wrapped by
p
tag or wrap bydiv
. - Also, using
background-attachment: fixed
is not really great since it just hurt performance on the site, you can try to inspect the layout in dev tools while it is open in bottom so that you will have extra more scroll on the site. Try scrolling and you will notice spikes, then try removing the property, it will look more seamless. - Those social-media links could be inside a
ul
element since those are "list" of links. - Each
a
tag that wraps the social-media icon should have eitheraria-label
attribute orsr-only
text inside it, defining where the link would take them. For example, you should usefacebook
as the value if the link would take the user to facebook. - Also, when you are creating an interactive component, use interactive elements. For example, why adding
cursor: pointer
on the social-media if it will not be interactive, right? So it will be better to just make them totally interactive by using proper html tags. - Lastly, addressing the responsiveness issues on the site:>
Aside from those, great job again on this one.
Marked as helpful2 - @Onyeka-AribeanaPosted about 3 years ago
Thank you so much for your feedback. This is the longest anyone has ever written me 😁 but so thanking your time to enlighten me. I guess I'll take a break from TailwindCSS for now till I get a better of native CSS. Also you made good points that I will now take account of.
Thank you soon much 🤗
1
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