100 Days

Day 17 - Form field validation with REGEX


Listen Later

  • 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
  • ...more
    View all episodesView all episodes
    Download on the App Store

    100 DaysBy John Aspinall