This is a solution to the Base Apparel coming soon page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
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
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- JS
I learned the concept of making forms using JS. I learnt about using "
", onsubmit(), indexOf(),split() and some() and few more. The some() tells if atleast one element in the array satisfies a condition in a callback function Split() splits the string into an array of substring with a specified separatorI want to continue focusing on JavaScript and understand its functions
- Frontend Mentor - @V102002
Note: Delete this note and add/remove/edit lines above based on what links you'd like to share.
Thanks to a Youtube video by Thapa Technical I understood how to implement making a form validation and understand the logic behind it