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

Responsive sign-up form with JS validation, using flexbox and sass

Ian 150

@blndcat

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


Another challenge I had coded up a while back but never submitted. The only changes from that time: 1. I switched over to a different development set-up (vite with sass) and 2. tidied up some html errors.

I used flexbox and some absolute positioning, but probably try to use mostly grid if I had to do it from scratch now.

Community feedback

Hyron 5,870

@hyrongennike

Posted

Hi @blndcat,

Nice job on completing the challenge

You can center the columns by using CSS flex on the parent container in your it's the body element. Replace you body rule with the following one to center the columns in the middle of the page.

body { font-size: 1.6rem; font-family: Poppins,sans-serif; background: hsl(0deg,100%,74%) url(/assets/bg-intro-mobile.c6c995d2.png); color: #fff; display: flex; justify-content: center; align-items: center; min-height: 100vh; }

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