Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
36 lines (28 loc) · 1.16 KB

File metadata and controls

36 lines (28 loc) · 1.16 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About me</title>
</head>
<h1>About me</h1>
<body>
<img src="image/myself.jpg.jpg" alt ="My Photo" width="250" height="250">
<ul class ="about-me">
<li>Nickname: <span id="nickname"></span>coopcool</li>
<li>Favorites: <span id="favorites"></span>House music, Italian food, Seinfeld</li>
<li>Hometown: <span id="hometown"></span>Brooklyn, New York</li>
<li>Random Fact: <span id="random-fact"></span>I like new sports cars.</li>
</ul>
<button type="button" onclick="myFunction(li)">Set font</button>
<script>
function myFunction() {
document.getElementById("nickname").style.fontFamily = "Arial,sans-serif";
document.getElementById("favorites").style.fontFamily = "Arial,sans-serif";
document.getElementById("hometown").style.fontFamily = "Arial,sans-serif";
document.getElementById("random-fact").style.fontFamily = "Arial,sans-serif";
}
</script>
</body>
<script src="main.js"></script>
</html>
Morty Proxy This is a proxified and sanitized view of the page, visit original site.