We use A porgram called :\"Aptana\" Any ideas please Help:( 1. Write an HTML fil
ID: 3922319 • Letter: W
Question
We use A porgram called :"Aptana"
Any ideas please Help:(
1. Write an HTML file with one button. The value of the button should be your name. Name the file YourFirstName YourLastName.html 5 points. 2. Write a separate JavaScript file called YourFirstName YourLastname.js in the same folder. When the button is clicked, the program should prompt the user for a string, or *** to quit. It should read the string into a variable. 10 points 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. 10 points Hint: In order to count number of spaces, we can tokenize the string using " " as the demarcator. Vowels are : a, 'e, 'i, o, w.Explanation / Answer
<html>
<form>
Name:<input type="text" id="name" name="name"/><br/>
<input type="button" value="YourFirstNameYourLastName"/>
</form>
</html>
</script>
<script type="text/javascript">
function Name(){
var name=document.getElementById("Name").value;
alert("name entered");
}
</script>