CodePapa360 / Base-Apparel

Base Apparel coming soon page design challenge on Frontend Mentor.

Home Page:https://base-apparel-alamin.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base Apparel coming soon

This is my solution for the Base Apparel coming soon page design challenge on Frontend Mentor. The objective was to recreate the design as accurately as possible with email validation. Take a look at the live site!

Screenshot

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Receive an error message when the form is submitted if:
    • The input field is empty
    • The email address is not formatted correctly
  • Bonus: Dark mode toggle

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • JavaScript
  • Mobile-first workflow
  • NPM

Installation

  • Clone this repo:
git clone https://github.com/CodePapa360/Base-Apparel.git
  • Install dependencies:
npm install
  • Build command:
npm run build
  • Run command:
npm start

What I learned

Building this project has provided me with valuable learning experiences. One of the challenges I encountered was implementing email validation using JavaScript, which involved learning about regular expressions and how to validate user input.

Additionally, I improved my layout skills by working with responsive images and using CSS Grid.

Overall, this project has helped me to build on my existing knowledge and gain new insights.

Useful resources

  • RegexMagic - This article by Jan Goyvaerts provides an in-depth explanation of how to use regular expressions to validate email addresses. The article not only explains how to write regular expressions for email validation but also covers the common mistakes made while writing regular expressions for email validation.

It provides clear and concise examples of regular expressions for email validation and also explains the logic behind each regular expression.

Author

👤 Alamin

Feel free to contact me with any questions or feedback!

Show your support

Give a ⭐️ if you liked this project!

Acknowledgments

I would like to express my gratitude to Frontend Mentor for providing this project idea and design. Their platform is an excellent resource for web developers looking to improve their skills.

License

This project is licensed under the MIT license, which means you can use, modify, and distribute the code as you wish. If you have any questions or feedback, feel free to reach out. Thank you for considering my code!

About

Base Apparel coming soon page design challenge on Frontend Mentor.

https://base-apparel-alamin.netlify.app/

License:MIT License


Languages

Language:SCSS 56.6%Language:HTML 32.5%Language:JavaScript 10.9%