@A-amon
Posted
Hello! Amazing work there~ π
I've got a few suggestions:
- To align the logo and navbar links, you can add this code to your
.nav-bar
display:flex;
align-items:center;
justify-content:space-between;
- I don't think you have set the hover state for your social media links/icons. Anyhow, I would usually use the SVG code itself instead of img for these since I can more freely change the icons' color. You can refer to this π
- Looks like your
.display-img
images couldn't fit inside a row on laptop size. You can fix this by settingflex:1;
to your picture tags within instead of settingwidth:25vw;
. Then, on mobile, simply use a media query to change that toflex:100vw;
. - For your
.show
navbar, you can use media query to override/reset.show
styling on desktop sizes. π - You should use
<button>
for the hamburger button since it's a well, button. π I will let screen reader users to know it's one. Check this out π. - The 'Learn More' text should be links π instead so they should be using
<a>
tags. - The social media links should have a text telling screen reader users what each link is for. You can use the
aria-label
attribute on the<a>
tags and set it to 'Facebook' or other values, then leave the alt attribute empty (This is what I would do π). You can check this out.
Marked as helpful
@Joe-Lindie
Posted
Hello @A-amon,
Thanks for your help with aligning the navbar/logo - It seemed so obvious once you said it. I must have been staring at the code for way too long.
Thanks for all your other tips, too!
@A-amon
Posted
@Joe-Lindie It's always good to take a break in between, just to clear our mental "cache" π