1) Create an A08 directory in your GitHub repository.

Part one

Create a JavaScript file named myScript.js. You will be putting all your JavaScript in this file.

Create an example FAQ page that lists five different Frequently Asked Questions in a list. Each question should be clickable. When the user clicks on the question the answer should appear below the question. If they click on the question again the answer should hide. Use jQuery functions to implement this functionality. The user should be able to have multiple questions ‘opened’ at the same time. Change the questions to indicate that they are opened (-) or closed (+).

Part two

Create another Bootstrap HTML page with an input form with a URL input field and a submit button. When the button is pressed it calls a jQuery function from myScript.js that gets the URL and counts the number of links in the page. Show the result below the the input form.

2) Save your JavaScript and HTML files in a directory named A08 in your GitHub repository.

Submission instructions

To be completed before week 5’s first class period.

Email Jack, jacksy (AT) hawaii (DOT) edu, and me, cmoore@hawaii.edu, with with a link to your GitHub repository and the A08 directory where you saved this assignment.

Note: the subject line must have [ICS 415-<section> A08] in the subject. If [ICS 415-<section> A08] is missing, then I might not see the email and you might not get credit for this assignment.