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!


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!

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Your Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.