Skip to content

Commit 371789e

Browse files
committed
feat: adds html starter
1 parent c081208 commit 371789e

4 files changed

Lines changed: 29 additions & 0 deletions

File tree

html-css-javascript/favicon.ico

1.28 KB
Binary file not shown.

html-css-javascript/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<html>
2+
<head>
3+
<title>My HTML page</title>
4+
<link rel="stylesheet" type="text/css" href="style.css" />
5+
<link rel="icon" href="favicon.ico" />
6+
</head>
7+
<body>
8+
<p>
9+
<h1>Hello, World!</h1>
10+
<span>
11+
(You must be aight if you ended up here!)
12+
</span>
13+
</p>
14+
<script src="script.js"></script>
15+
</body>
16+
</html>

html-css-javascript/script.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
document.addEventListener('DOMContentLoaded', function() {
2+
printWelcomeMessage();
3+
});
4+
5+
function printWelcomeMessage() {
6+
console.info("🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥");
7+
console.info("🔥 Welcome to the Code Differently course! 🎉");
8+
console.info("🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥🎉🔥");
9+
}

html-css-javascript/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
h1 {
2+
font-family: 'Courier New', Courier, monospace;
3+
color: #663399;
4+
}

0 commit comments

Comments
 (0)