Skip to content

Commit 59fd0e5

Browse files
author
Karim Abou-Khalil
committed
add example
1 parent 023ceb9 commit 59fd0e5

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

examples/week-3/columns/index.html

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Title</title>
6+
<link rel="stylesheet" href="style.css">
7+
</head>
8+
<body>
9+
<div class="container">
10+
<div class="column">
11+
<h1>Hello div 1</h1>
12+
</div>
13+
<div class="column">
14+
<h1>Hello div 2</h1>
15+
</div>
16+
<div class="column">
17+
<h1>Hello div 3</h1>
18+
</div>
19+
</div>
20+
<script src="scripts.js"></script>
21+
</body>
22+
</html>

examples/week-3/columns/scripts.js

Whitespace-only changes.

examples/week-3/columns/style.css

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.column{
2+
background-color: red;
3+
width: 33%;
4+
}
5+
.container{
6+
display: flex;
7+
}

0 commit comments

Comments
 (0)