-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchap3assign.html
More file actions
33 lines (30 loc) · 1 KB
/
chap3assign.html
File metadata and controls
33 lines (30 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<title>Chapter 3 Assignment</title>
<script type="text/javascript">
var first_name = prompt ("Please enter your first name");
var last_name = prompt ("Please enter your last name");
var hourly_wage = prompt ("What is your hourly wage?");
var job_id;
var job_title;
var weekly_pay = hourly_wage * 40.00;
</script>
</title>
</head>
<body style="background-color:lightblue;">
<script type="text/javascript">
var job_title = "Programmer";
var job_id = "B0123456";
document.write("First Name: " +first_name);
document.write("<br/>Last Name: " +last_name);
document.write("<br/>Hourly Wage: " +hourly_wage);
document.write("<br/>Job Title: " +job_title);
document.write("<br/>Job ID: " +job_id);
document.write("<br/>Weekly Pay: " +weekly_pay);
document.write("<br>");
document.write("<br/><a href=\"http://www.tridenttech.edu\">Trident Technical College</a>");
document.write("<br><h1 style=\"color: yellow;\" >THE END</h1>");
</script>
</body>
</html>