Menu

[Solved]Javascript Create Web Page Form Similar Following Event Registration Fill Form Register Ev Q37035540

using netbeans, do the following:
Javascript Create a Web page form similar to the following Event Registration Fill out the form to register to our event NamePut the following line of code into the file: alert (Hello, world!) .Link your HTML page to your JavaScript file using the sJavascript Create a Web page form similar to the following Event Registration Fill out the form to register to our event Name First Name Last Name Company E-mail ex Are you an existing customer? Yes No Register Create a new file and save it as myScript.js. Page 1 of2 Put the following line of code into the file: alert (“Hello, world!) .Link your HTML page to your JavaScript file using the script tag. e in the browser. Do you see the alert message? .Refresh your page This is just a test to make sure that your browser is running your JavaScript file, before we move on Hello, world 1. Modify your JS code so that when the user clicks “Register”, the program will make sure that the first name, last name and email are not empty. If any of them found empty alert will appear with the message “Please fill name and company with information”. If everything is fine, alert message will appear with the message “Thank you Mohammed Ahmed” (assuming that the first name and last name filled are Mohammed Ahmed). 2. Using HTML, add an image at the end of the page. When the user mouseover the image it will be changed into another image. 3. Add a new button (Larger Font), when the user click on the button the font size for the Name and Company elements (label and input text) will be increased to be 24pt Hint: The syntax for accessing an element by ID and changing a style is doeument. getElementByldl elemenD).atyle.propertyName “value” 4. Validate the email if it is in the correct patten using CSS 5. Modify your JS code so that when the user clicks “Register”, it will check if this is an existing customer or not (from the radio button selected) and show that along with the user name in a thank you message using alert Hint: you need just to get the variable value you obtained in the onChange event when the user selects a radio button to know if this is an existing customer or not. Page 2 of 2 Show transcribed image text Javascript Create a Web page form similar to the following Event Registration Fill out the form to register to our event Name First Name Last Name Company E-mail ex Are you an existing customer? Yes No Register Create a new file and save it as myScript.js. Page 1 of2
Put the following line of code into the file: alert (“Hello, world!) .Link your HTML page to your JavaScript file using the script tag. e in the browser. Do you see the alert message? .Refresh your page This is just a test to make sure that your browser is running your JavaScript file, before we move on Hello, world 1. Modify your JS code so that when the user clicks “Register”, the program will make sure that the first name, last name and email are not empty. If any of them found empty alert will appear with the message “Please fill name and company with information”. If everything is fine, alert message will appear with the message “Thank you Mohammed Ahmed” (assuming that the first name and last name filled are Mohammed Ahmed). 2. Using HTML, add an image at the end of the page. When the user mouseover the image it will be changed into another image. 3. Add a new button (Larger Font), when the user click on the button the font size for the Name and Company elements (label and input text) will be increased to be 24pt Hint: The syntax for accessing an element by ID and changing a style is doeument. getElementByldl elemenD).atyle.propertyName “value” 4. Validate the email if it is in the correct patten using CSS 5. Modify your JS code so that when the user clicks “Register”, it will check if this is an existing customer or not (from the radio button selected) and show that along with the user name in a thank you message using alert Hint: you need just to get the variable value you obtained in the onChange event when the user selects a radio button to know if this is an existing customer or not. Page 2 of 2

Expert Answer


Answer to Javascript Create a Web page form similar to the following Event Registration Fill out the form to register to our event… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *