https://github.com/codewithalamin/base-apparel
Base Apparel coming soon page design challenge on Frontend Mentor.
https://github.com/codewithalamin/base-apparel
codepapa360 codewithalamin coming-soon-page css design-challenge email-validation frontend-development html javascript responsive-design web-development
Last synced: 9 days ago
JSON representation
Base Apparel coming soon page design challenge on Frontend Mentor.
- Host: GitHub
- URL: https://github.com/codewithalamin/base-apparel
- Owner: CodeWithAlamin
- License: mit
- Created: 2023-04-08T11:55:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-30T12:06:32.000Z (6 months ago)
- Last Synced: 2024-11-11T03:18:11.209Z (6 months ago)
- Topics: codepapa360, codewithalamin, coming-soon-page, css, design-challenge, email-validation, frontend-development, html, javascript, responsive-design, web-development
- Language: SCSS
- Homepage: https://base-apparel-alamin.netlify.app/
- Size: 2.74 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
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:
```sh
git clone https://github.com/CodeWithAlamin/Base-Apparel.git
```- Install dependencies:
```sh
npm install
```- Build command:
```sh
npm run build
```- Run command:
```sh
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](https://www.regular-expressions.info/email.html) - 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
- Twitter - [@CodeWithAlamin](https://www.twitter.com/CodeWithAlamin)
- LinkedIn - [@CodeWithAlamin](https://www.linkedin.com/in/CodeWithAlamin)
- Frontend Mentor - [@CodeWithAlamin](https://www.frontendmentor.io/profile/CodeWithAlamin)
- Github: [@CodeWithAlamin](https://github.com/CodeWithAlamin)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](https://github.com/CodeWithAlamin/Base-Apparel/blob/main/LICENSE.md) 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!