Skip to content

Commit f3505b6

Browse files
committed
Lesson Template
Added lesson template.
1 parent f12e76f commit f3505b6

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

template/lesson-template.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* Example button */
2+
.example-button {
3+
background-color: rgb(46, 164, 79);
4+
color: white;
5+
border: none;
6+
cursor: pointer;
7+
padding: 10px 20px;
8+
border-radius: 5px;
9+
font-weight: bold;
10+
transition: background-color 0.15s;
11+
}
12+
.example-button:hover {
13+
background-color: rgb(30, 140, 55);
14+
}

template/lesson-template.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>HTML & CSS Course - Lesson Template</title>
6+
<link rel="stylesheet" href="lesson-template.css" />
7+
</head>
8+
<body>
9+
<h1>Lesson Template - Exercises</h1>
10+
<a href="../../index.html"><button>Go back to Home</button></a>
11+
12+
<br />
13+
<br />
14+
15+
<h2>Exercise 1</h2>
16+
<button class="example-button">Example Button</button>
17+
18+
<hr />
19+
<br />
20+
21+
<h2>Exercise 2</h2>
22+
<button class="example-button">Another Button</button>
23+
</body>
24+
</html>

0 commit comments

Comments
 (0)