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

Intro component with sign up form | Using flexbox and javascript

Teng 170

@pyteng

Desktop design screenshot for the Intro component with sign-up form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Still need to work on my mobile-first approach and the javascript DOM.

My question is:

What is the best way to use media query? So far i've been using max-width for smaller device and min-width for larger/desktop.

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Nice work, Teng! I always just go with min-width and work mobile-first. It's a nice workflow and also has the added benefit of loading in fewer styles for mobile users.

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