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 almost pixel-perfect solution with simple CSS animations

#accessibility#bem#parcel#sass/scss

@GrzywN

Desktop design screenshot for the Intro section with dropdown navigation coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Feel free to test it, any feedback is welcome here :)

Community feedback

@Esesosa-max

Posted

  1. ✅ Good Looking Design(both mobile , desktop) 5/5
  2. ✅ Perfectly Responsive 5/5
  3. ✅ Good Application of Tools(BEM,SASS/SCSS) 5/5
  4. ✅ Readablity 3.5/5
  5. 🥈 Pixel Perfect 4.6/5
  6. 💡 Personal Tip: You do not have to two images just change the image with CSS when it in mobile view e.g content:url(path/to/image). In Mobile give the <br > a display:none

Marked as helpful

1

@GrzywN

Posted

@Esesosa-max Thanks for your feedback :) Next time I'll definitely use content. I didn't even know that it is possible to use it like that. Some things regarding readability could have been done better, but I'm short on time, so yeah. I will improve this solution in a few days.

0
John Mirage 1,610

@john-mirage

Posted

@GrzywN You can also use this:

<picture>
  <source srcset="path/to/desktop.png" media="(min-width: 992px)">
  <img src="path/to/mobile.png" alt="description">
</picture>
1

@GrzywN

Posted

@ChaosDynamix Yeah, I read article about picture tag after I submitted, but I prefer to use classes and media queries inside css than using media queries in HTML. Thanks tho

0
CyrusKabir 1,885

@CyrusKabir

Posted

Hello my dear friend ♥ you did great on this challenge and only little problem is about accessibility issue with keyboard in Learn More button. I wasn't able to catch it with tab key or if I did it it wasn't noticeable

  • edit: can you add useful resource which you always use for clean code, work with animation, sass, css, .... ?
1

@GrzywN

Posted

@CyrusKabir Alright, added to todo list haha

1
CyrusKabir 1,885

@CyrusKabir

Posted

@GrzywN 😁

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