-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeek3.html
23 lines (16 loc) · 1.13 KB
/
Week3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="D:/Coursera/InteractivitywithJavaScriptUMichigan/Week 3/Assignment/Week3.css">
<script src="D:/Coursera/InteractivitywithJavaScriptUMichigan/Week 3/Assignment/Week3.js"></script>
</head>
<body>
<div id = "message">
Hover over an image to display the alt text.
</div>
<img class = "preview" alt = "Styling with a Bandana" src = "https://s3-us-west-2.amazonaws.com/s.cdpn.io/389177/bacon.jpg" onmouseover = "showProperties(this)" onmouseleave = "document.getElementById('message').innerHTML='Hover over an image';">
<img class = "preview" alt = "With My Boy" src = "https://s3-us-west-2.amazonaws.com/s.cdpn.io/389177/bacon2.JPG" onmouseover = "showProperties(this)" onmouseleave = "document.getElementById('message').innerHTML='Hover over an image';">
<img class = "preview" src = "https://s3-us-west-2.amazonaws.com/s.cdpn.io/389177/bacon3.jpg" alt = "Young Puppy" onmouseover = "showProperties(this)" onmouseleave = "document.getElementById('message').innerHTML='Hover over an image';">
</body>
</html>