-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheleanor2web.html
83 lines (62 loc) · 2.35 KB
/
eleanor2web.html
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html>
<header>
<link rel="stylesheet" href="style.css">
<script>
function myTextFunction(){
document.getElementById('MyText').innerHTML = "Hello World!";
}
function my1Picture(){
alert("First Picture");
}
function my2Picture(){
alert("Second Picture");
}
</script>
</header>
<body>
<ul>
<li><a href="">HOME</a></li>
<li><a href="https://www.qcc.cuny.edu/" target="_blank">QCC</a></li>
<li><a href="/~https://github.com/eleanorw13" target="_blank">Github</a></li>
<li><a href="https://www.w3schools.com/" target="_blank">W3C Website</a></li>
<li><a href="https://www.nytimes.com/" target="_blank">New York Times Website</a></li>
<li><a href="mailto:eleanor_wai@msn.com">CONTACT</a></li>
</ul>
<h1>Assignment 2</h1>
<div class="container1">
<div class="sectiontop">
<p align="center"><iframe src="eleanor1webpage.html" title="Assignment 1"></iframe> </p>
<p align="center"> <img src="images/photo2.jpg" height="350" width="500"></p>
<p align="center">
<textarea id="MyText" name="MyText" rows="3" cols="50">
</textarea><br>
<button type="button" value="submit" onclick="myTextFunction()">Submit Button </button>
<button type="reset" value="reset"> Clear Button </button>
</p>
</div>
<div class="section1">
<h2>First Picture</h2>
<p align="center"><img src="images/photo1.jpg" height="150" width="150"> </p>
<p align="center">picture 1</p>
<p align="center"> <button type="button" value="submit" onclick="my1Picture()">Submit Button </button></p>
</div>
<div class="section2">
<h2>Second Picture</h2>
<p align="center"><img src="images/photo2.jpg" height="150" width="150"></p>
<p align="center"> picture 2 </p>
<p align="center"> <button type="button" value="submit" onclick="my2Picture()">Submit Button </button></p>
</div>
<div class="section3">
<h2>Third Picture</h2>
<p align="center"><img src="images/background2.jpg" height="150" width="150"> </p>
<p align="center">picture 3</p>
<p align="center"><button type="button" value="submit" onclick="my1Picture()">Submit Button </button></p>
</div>
</div>
</body>
<footer>
<p> Eleanor Wai - 2022 - Assignment 2 </p>
</footer>
</div>
</html>