Everything in this question should go in the q3 folder. The file should be named index.html. Make
Fantastic news! We've Found the answer you've been seeking!
Question:
Everything in this question should go in the "q3" folder. The file should be named "index.html".
- Make the title of this page: "(Your Name)'s Dog and Cat Counter".
- Put a single button on the screen. When the user clicks the button, prompt the user for an element to count. Keep a tally of how many times the user types a word containing "dog" (in any case) (including "hotdog" or "DoGwOoD") as well as "cat" (in any case) (including "catalog" or "eDuCaTe"). If the user types "done" (in all lower case letters using exactly 4 characters), the program quits and reports how many times the user typed "dog" using a complete English sentence AND how many times the user typed "cat" using a complete English sentence. For example, "You typed 'dog' 2 times and 'cat' 4 times."
Posted Date: