Text Strings and String Methods

Counting Characters


Close Enough

What is the name of the eighth studio album by the group Blue Oyster Cult, released in 1981?

  1. create 1 question quiz asking about movie, show, song, with the answer at least 4 words
  2. if all words are included in response, they get 1 point
  3. if all words are in the right order, 2 points

hexadecimal overkill

  1. script asking for simple input of hex color code
  2. based on choice, the background changes to match
  3. if blank, the script will direct attention with focus and a sample hex code will be input
  4. can enter 3char or 6char hex code
  5. output will say which was chosen
  6. should be able to use # or not - remind if they forget to include
  7. if they type invalid code- politely educate the user on how to make hex code
  8. output should show hex in all caps, with hashmark,

extra credit hex overkill with regex