CST 221 UMT Programming Alert in Javascript Exercise
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)
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.
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.
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.
Use comments and lay the code out so it can be easily followed!
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.
