-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathUnit1Assignment.html
More file actions
49 lines (33 loc) · 1.13 KB
/
Unit1Assignment.html
File metadata and controls
49 lines (33 loc) · 1.13 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WDV221 Intro Javascript</title>
<style>
div#container {
width:960px;
margin:auto;
padding:10px;
background-color:white;
border:thin solid black;
}
</style>
<script> //1. Modify this run time script to output an h1 element that says 'Assignment 1'
document.write("<h1>Assignment 1<h1>")
</script>
</head>
<body>
<div id="container">
<h1>WDV221 Intro Javascript</h1>
<h2>Introduction to Javascript - Assignment 1</h2>
<p>Tasks:</p>
<p>1. The instructions are in the code.</p>
<p>2. Create a run time script that will display your name and major on the page AND on the console log.</p>
<p>3. Fix the run time script on the bottom of this page.</p>
<script>
window.alert('You are on your way to working with Javascript');
console.log("My name is Colby Wemer and my major is Computer Information Systems-AAS");
document.write("My name is Colby Wemer and my major is Computer Information Systems-AAS");
</script>
</div>
</body>
</html>