Skip to content

currently-unkwn/19-form-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brief

In this project, we're going to create a sign-up form with validation.

You can use as many (or as few) tools, libraries, and frameworks as you'd like. If you're trying to learn something new, this would be a great way to push yourself.

Users should be able to:

  • When the user unfocuses a field, the form should perform a validation check
  • All the fields are required
  • Should enter a properly formatted email address
  • The password and confirm password fields should match
  • Clicking on the show / hide button on the password field should change the visibility of the password (simply change the input type from password to text or vice versa)

Need some support on this challenge?

  • Upgrade to the Solution Tier. You'll get a video explanation from James.
  • Join the Learn Build Teach Discord community. We have a separate channel set up specifically for the Advent of JavaScript.

Getting Started

  1. To get started, download the zip file. This includes all the project assets you need to get started: HTML, CSS, images, and fonts.
  2. Take a look around. Look at the project's Figma file. This is a great way to see how the pieces and parts should look within the browser.
  3. Open the project's README.md file. It has additional information on how the project is structured.
  4. Customize your project/file architecture to your liking.
  5. Happy coding!
  6. Once you're finished, share your work using #adventofjs

Taking your Project to the Next Level

  • Use a framework like ReactVue, or Svelte. Or, if you're feeling particularly adventurous, try writing everything in Vanilla JavaScript.
  • Take a step back and try writing the HTML and CSS for this project yourself. Start with the provided Figma file. If you get stuck, consider purchasing the Advent of CSS solutions, where Amy explains exactly how to build this.
  • Place additional checks on the password to make sure that it is secure
  • Check the email address against a predefined list of email addresses to make sure that there's not a duplicate email address.

FAQs

  • Can I use libraries/frameworks on these projects?
    • Of course! We're providing the vanilla HTML and CSS, but you can use whatever tools and frameworks you'd like.
  • Oh no! I'm stuck!
  • Can I use this project in my portfolio?
    • Sure! But, be honest about the work that you did

About

Sign-up form with validation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published