Instruction: You can find help for this assignment from Module 3 on "Adding Parameters" and "Window Alert". Create a pro
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Instruction: You can find help for this assignment from Module 3 on "Adding Parameters" and "Window Alert". Create a pro
Instruction: You can find help for this assignment from Module 3 on "Adding Parameters" and "Window Alert". Create a program that will do the following when run: 1) A window alert appears with the message "Click ok to see my name". (Different browser might display it differently) jement and Technology, Inc. [1 | courses.umtweb,edu/pluginfile.php/22510/mod_resource/c.. An embedded page on this page says Click ok to see my name 2) Once you click ok, a line appears on the webpage that reads "My name is StudentName". Put your name in place of the StudentName. My name is John Requirements: 1. You must use a Function that will accept a variable called myname as a parameter. 2. The variable myname should be given the value of your first name. Q2019 University of Management and Technology 3. The Function must be in a javascript file called second.js. Your html page should be called second.html (refer to assignment 1 if you forgot how to call javascript file from html file) 4. The Function must return the message to be displayed. Do not display the message inside the Function.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!