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

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."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!