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!
![](/CodePapa360/Base-Apparel/raw/main/screenshots/Compared - Base Apparel coming soon - dark mode.png)
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
- The
- Bonus: Dark mode toggle
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- JavaScript
- Mobile-first workflow
- NPM
- 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
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.
- 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.
👤 Alamin
- Twitter - @CodePapa360
- LinkedIn - @CodePapa360
- Frontend Mentor - @CodePapa360
- Github: @CodePapa360
Feel free to contact me with any questions or feedback!
Give a ⭐️ if you liked this project!
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.
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!