Skip to content

Commit ce3d13d

Browse files
committed
Add HTML structure for XKCD comic viewer with random comic button
1 parent 050beed commit ce3d13d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

fetch/programmer-humour/index.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Programmer Humour - XKCD Comics</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<h1>😂 Programmer Humour</h1>
11+
12+
<div id="comic-container">
13+
<p>Loading comic...</p>
14+
</div>
15+
16+
<button id="new-comic-btn">Show me another comic</button>
17+
18+
<script src="script.js"></script>
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)