Skip to content

Commit 4b3a39a

Browse files
committed
Your Own Font
1 parent 0dd41bc commit 4b3a39a

File tree

3 files changed

+29
-10
lines changed

3 files changed

+29
-10
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width" />
6+
<!--your code here -->
7+
8+
<link rel="stylesheet" type="text/css" href="./styles.css" />
9+
10+
<title>10 Your Own Font</title>
11+
</head>
12+
<body>
13+
<h1 class="myTitle">My unique font</h1>
14+
</body>
15+
</html>

exercises/10-Your-Own-Font/index.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="utf-8" />
5-
<meta name="viewport" content="width=device-width" />
6-
<!--your code here -->
3+
<head>
4+
<link rel="preconnect" href="https://fonts.googleapis.com" />
5+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
6+
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet" />
7+
<meta charset="utf-8" />
8+
<meta name="viewport" content="width=device-width" />
9+
<!--your code here -->
710

8-
<link rel="stylesheet" type="text/css" href="./styles.css" />
11+
<link rel="stylesheet" type="text/css" href="./styles.css" />
912

10-
<title>10 Your Own Font</title>
11-
</head>
12-
<body>
13-
<h1 class="myTitle">My unique font</h1>
14-
</body>
13+
<title>10 Your Own Font</title>
14+
</head>
15+
<body>
16+
<h1 class="myTitle">My unique font</h1>
17+
</body>
1518
</html>

exercises/10-Your-Own-Font/styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.myTitle {
22
/*your code here*/
3+
font-family: Lobster;
34
}

0 commit comments

Comments
 (0)