This is a solution to the Intro component with sign up form 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:- Any
input
field is empty. The message for this error should say "[Field Name] cannot be empty" - The email address is not formatted correctly (i.e. a correct email address should have this structure:
name@host.tld
). The message for this error should say "Looks like this is not an email"
- Any
- Solution URL: View Repository
- Live Site URL: Hosted with GitHub Pages
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS3 Rules - Media Queries for Responsiveness
- Mobile-first approach
- I got to improve on working with background images in CSS
- I learnt about form validation; includes email, password, etc.
I intend to focus more on implementing Vanilla JavaScript in projects to improve my problem-solving skills.
-
JavaScript Crash Course Video - Brad Traversy - This helped me with Use of Events in DOM, like Event Delegation. I'd recommend it to anyone still learning this concept.
-
JavaScript Form Validation - This is an amazing article which helped me finally understand Form Validation with JavaScript. I really liked this pattern and will use it going forward.
- Website - Mariam Adekola
- Frontend Mentor - @Marrockx
This is the current state of my project and it is now complete, but may be subject to changes in the future.