Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Sass and js

Chris• 740

@chrisbailey85

Desktop design screenshot for the Sunnyside agency landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I quite enjoyed doing this project, I've tried to make it as accessible as possible any tips for improvement will be greatly appreciated.

Community feedback

P
tediko• 6,580

@tediko

Posted

Hello, Chris! 👋

Congrats on finishing another challenge! 🎉 Your solution looks very good and also responds well. Here's my few tips:

  • Add :focus pseudo class to interactive elements like anchors, buttons etc. Use outline property to make your website more accessible to keyboard users. Focusable elements like anchor, buttons or inputs they have applied default :focus pseudo class with outline property. These default styles are subtle and hardly visible tho. Furthermore every browser has a slightly different default style for the outline, so you probably want to change the default style. Read more about why we should change focus styles.
  • Change the alt attributes for the .about__img images, as they don't add any extra context for screen reader users. Since your images are decorative your alt text should be provided empty (alt="") so that they can be ignored by assistive technologies.

Good luck with that, have fun coding! 💪

Marked as helpful

2

Chris• 740

@chrisbailey85

Posted

@tediko thank you, I keep forgetting about setting the focus. As a rule of thumb should you genuinely leave the alt empty unless it's has very important information on it?

0
P
tediko• 6,580

@tediko

Posted

@chrisbailey85 Yes, a decorative image is an image that adds visual appeal to the site without adding any additional important information. This image could strictly be a visual decoration. Read about Decorative Images. Image Accessibility 101.

1
Chris• 740

@chrisbailey85

Posted

@tediko thank very much

0
soransh singh• 1,025

@soransh-singh

Posted

greattt workkk.... I liked your menu button and arrow icon animation ... will try to add something similar in my project... nice work...

1

Chris• 740

@chrisbailey85

Posted

@soransh-singh thank you. My first time messing about with a little bit more animations other than the standard spin to the cross.

1
Julian Ifesiokwu• 475

@JulianIfesiokwu

Posted

Solid effort, i think you missed using the right fonts for the client job description. How did you get the underline completed on the "LEARN MORE"? Also how did you get the logo to be green in the footer? Solid effort though.

1

Chris• 740

@chrisbailey85

Posted

@egbuna09 oops good eye, I miss that I'll go and fix that in a bit, thanks. For the underline on the learn more I've used the ::before pseudo-element on the link, and for the footer I actually created a separate SVG file and change the colour.

1
Julian Ifesiokwu• 475

@JulianIfesiokwu

Posted

@chrisbailey85 also how did you get the mobile nav looking like it has a small triangle on the far right? I mean the small notch at the top? Dont know if it is called a notch.

0
Chris• 740

@chrisbailey85

Posted

@egbuna09 for that one I used the ::before on the nav tag, then use the border trick to make a triangle. On my main CSS file it's on line 135 if you want to see exactly how I've done it, or check this article out on css-tricks

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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