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

Mobile first Responsive page with css grid

Godstime01 320

@Godstime01

Desktop design screenshot for the Agency landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I don't know how to fix the hover effect on the contact link in the navigation section. i tried using backdrop blur effect but it didn't work

Community feedback

Josh 320

@Ao-chi

Posted

Hi~ Congrats on finishing this challenge!

One way to solve the hover effect on contact link is by making a new variable with lighter opacity of your --white color like this: --light-white: hsl(0, 0%, 100%, 0.4);. Now you can use this as the background color for hover effect.

._links:last-child:hover {
    color: var(--white);
    background-color: var(--light-white);
}

Also to make your links accessible for screen readers, it's advisable to put discernible text like this <a href="#">Home<a>. But if you'll only put an icon or image you should add aria-label attribute. For example:

<a href="#" aria-label=""Website logo>
     <img src="images/logo.svg" alt="icon">
</a>

If you have any questions you can reach out to me. Hope this helps~ Happy Coding!!

Marked as helpful

1

Godstime01 320

@Godstime01

Posted

@Ao-chi Thank you I will do just that

0

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