Skip to content

Commit 24ee48a

Browse files
Comments added back
1 parent 07256a5 commit 24ee48a

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width" />
6-
<link rel="stylesheet" type="text/css" href="./styles.css" />
6+
<link rel="preconnect" href="https://fonts.googleapis.com" />
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8+
<!-- Add your code below this line -->
79

10+
<link rel="stylesheet" type="text/css" href="./styles.css" />
811
<title>10 Your Own Font</title>
912
</head>
1013
<body>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.myTitle {
2-
/* FONT CHOSEN */
2+
/* You can use any other font as well - Add your code below this line. */
33
font-family: "Anton", sans-serif;
4-
}
4+
}

exercises/10-Your-Own-Font/solution.hide.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<meta name="viewport" content="width=device-width" />
66
<link rel="preconnect" href="https://fonts.googleapis.com" />
77
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
8+
<!-- Add your code below this line -->
89
<link href="https://fonts.googleapis.com/css2?family=Anton&display=swap" rel="stylesheet" />
9-
1010
<link rel="stylesheet" type="text/css" href="./styles.css" />
1111

1212
<title>10 Your Own Font</title>
1313
</head>
1414
<body>
1515
<h1 class="myTitle">My unique font</h1>
1616
</body>
17-
</html>
17+
</html>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.myTitle {
2-
2+
/* Add your code below this line */
3+
34
}

0 commit comments

Comments
 (0)