100 Days

Day 17 - Form field validation with REGEX

  • Wrote basic REGEX matching pattern for username form validation
  • Learned about the test() method, which compares a regex with a string.  This returns a boolean value which I used as the test value in an IF statement when showing the correct validation message to the user