How can I answer this?

timer Asked: Mar 9th, 2015
account_balance_wallet $30

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

University of Maryland

flag Report DMCA

Excellent job

Similar Questions
Hot Questions
Related Tags

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