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

Form using Tailwind

Brian Hammerβ€’ 180

@BrianHammer

Desktop design screenshot for the Contact form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am most proud of the radio cards, and how I was able to make the styling work with only tailwind. Next time I would use a framework like React so I do not need to copy and paste the files over and over again. I excluded the JavaScript validation because my focus is on tailwind styling for now.

What challenges did you encounter, and how did you overcome them?

One main challenge was getting the radio cards to work. I solved this by wrapping the whole thing in an HTML element, and adding padding.

What specific areas of your project would you like help with?

Any feedback is appreciated.

Community feedback

@Saviourjr

Posted

Hi πŸ‘‹ Brian .. Nice job bro πŸ‘ it looks perfect! You can try use padding top to align it at the center or your min -height set to 100vh. And again the attribute class you can delete it if you don’t want to position at the footer

I hope this helps bro..Happy coding Man!

Marked as helpful

1

Brian Hammerβ€’ 180

@BrianHammer

Posted

@Saviourjr Thanks man. I forgot to remove the attribution style in the HTML. Min height to 100vh would put the form in mobile in the center, but then I would have to adjust the forms to make them smaller. By putting it in the center, I meant the padding on the bottom when you scroll all the way down in mobile view.

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