How can I answer this?

Mar 9th, 2015
Price: $30 USD

Question description

1.Write your HTML file with one button. The value of the button should be your name, name the file YourFirstNameYourLastName.html 

2.Write a separate JavaScript file called YourFirstNameYpurLastName.js in the same folder. when the button is clicked, the program should prompt the user for a string, or*** to quit. It should not the string into a variable. 

3. Assume the user enters a lowercase only string. After the user has entered a non-*** string,the program should print the number of spaces in the string , and the number of vowels. 

Hint, In order to count number of spaces, we can tokenize  the string using "" as the demarcator .

Tutor Answer

(Top Tutor) Daniel C.
School: Cornell University

Studypool has helped 1,244,100 students

Review from our student for this Answer

Mar 9th, 2015
"Outstanding Job!!!!"
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors