Skip to content

Commit 659c3a0

Browse files
Update index.html
1 parent a704732 commit 659c3a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h2 id="greeting">Hi, I'm a student!</h2>
2626

2727
<div id="bio-box">
2828

29-
<img src="Angela_Photo.jpg" alt="Angela's Photo" id="profile-pic" width="800"><br><br>
29+
<img src="img/Angela_Photo.jpg" alt="Angela's Photo" id="profile-pic" width="800"><br><br>
3030

3131
<button onclick="changeTextColor()" style="background-color: blue; color:white; width: 200px; padding: 10px; margin: 4px;">Change Text Color</button>
3232

@@ -88,13 +88,13 @@ <h2 id="greeting">Hi, I'm a student!</h2>
8888

8989
document.getElementById("hobbies").style.display = "none";
9090

91-
document.getElementById("profile-pic").src='Angela_Photo.jpg';
91+
document.getElementById("profile-pic").src='img/Angela_Photo.jpg';
9292

9393
}
9494

9595
function changeImage() {
9696

97-
document.getElementById("profile-pic").src='Angela_Photo2.jpg';
97+
document.getElementById("profile-pic").src='img/Angela_Photo2.jpg';
9898
document.getElementById("profile-pic").style.width="800";
9999
}
100100
</script>
@@ -103,4 +103,4 @@ <h2 id="greeting">Hi, I'm a student!</h2>
103103

104104
</body>
105105

106-
</html>
106+
</html>

0 commit comments

Comments
 (0)