Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Responsive Sign up Form

Dev Nerd•530
@roobiwebdev
A solution to the Intro component with sign-up form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

wassup fam Today's challenge is another exciting one!

Project Name: Intro Component with Sign-Up Form.

This project is a user-friendly sign-up form component designed to collect user information efficiently. Users can input their details and receive immediate feedback if any fields are incorrect. If the form is filled out correctly, a sweet alert pops up, making the user experience even cooler.⚡️

Technologies Used: #HTML

#CSS (including Flexbox and media queries)

#JavaScript

HTML Structure The HTML file includes a form with inputs for first name, last name, email, and password. It uses semantic HTML elements like div, input, and button for structure and functionality.

CSS Styling Font Import: I've Used Google Fonts to import the "Poppins" font for a clean and modern look.

Global Styles: Resets default padding and margin, sets box-sizing, and specifies the font-family for consistency across different browsers.

Flexbox: Utilized to center the container and align items efficiently.

Background and Styling: Sets the background color, dimensions, padding, border-radius, and box-shadow for a visually appealing design.

Responsive Design: Utilizes media queries to adjust the layout and visibility for different screen sizes.

JavaScript Functionality Input Validation: Adds event listeners to validate the input fields for first name, last name, email, and password. Error Handling: Displays error messages and icons if any fields are incorrect or empty.

Sweet Alert: If the form is filled out correctly, a sweet alert pops up, making the user experience even cooler.

Submit Functionality: Shows a success message upon form submission if all inputs are valid.

-Enjoyed every moment coding this!😎

-Completed 35 out of 100 Challenges so far—keeping up the momentum!🔥

-👨‍💻Join me on my coding journey as I tackle advanced challenges and add innovative touches to every project.

-Feedback is always welcome—would love to hear what you think—drop your thoughts, guys!

Let’s grow together! 🌱

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Dev Nerd's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License