Day 11

  • Take Home Review
  • Regex
  • Daily Challenge
  • Modules
  • Take Home Challenge
  • Questions?
  1. Using your Day 10 daily challenge codepen
  2. Use regex to validate that your user's password contains the following:
    • Between 6-20 characters
    • At least one numeric digit
    • At least one uppercase letter
    • At least one lowercase letter
    • Tip: Test your regex at regexr.com
    • Bonus: Display an error message for the user if their password is invalid
  • Questions?
  • Complete your final project
  • Main objectives:
    • Create an input field for users to ask a question
    • Create a label for your input field telling your user to "Ask me anything!"
    • Create an "ask" button (this will run the function that outputs a random magic 8 ball image)
    • Create a div with an id of "answers" that you will insert the images into using js
    • Create an "ask" function that when clicked, will choose a random 8ball image and insert it into your "answers" div
    • Replace the input field with the user's question when displaying the answer
    • Style your page any way you like
    • Activate Github Pages for your project