I found this challenge relatively easy. I'm going to move on to something a bit more difficult after this. The design only had a mobile and desktop version so I added a breakpoint inbetween.
If you have time I'd love some feedback on the following things. How is my forms HTML? How is my JS? Any other feedback would be great.
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:
[email protected]
). The message for this error should say "Looks like this is not an email"
- Any
- Solution URL: https://github.com/arfarobs/intro-component-with-sign-up-form
- Live Site URL: https://arfarobs.github.io/intro-component-with-sign-up-form/
- Write the HTML.
- Download fonts.
- Style mobile view.
- Style tablet view.
- Style desktop view.
- Add active states.
- Write the client side validation.
- Refactor code.
- Finish readme.
- Semantic HTML5 markup
- CSS
- JavaScript
- Client Side Validation
- Flexbox
- Mobile-first workflow
The background shorthand. - I wouldn't say it is something that I learned, but it's something that I have made an effort to use.
I thought this was to easy so I am going to focus on something more complicated next time.