Skip to content

Commit cb22712

Browse files
Merge pull request 4GeeksAcademy#55 from dsilva06/10-Your-Own-Font
test works fine
2 parents 1133a59 + 24ee48a commit cb22712

File tree

4 files changed

+35
-12
lines changed

4 files changed

+35
-12
lines changed

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
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+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width" />
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

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>
10+
<link rel="stylesheet" type="text/css" href="./styles.css" />
11+
<title>10 Your Own Font</title>
12+
</head>
13+
<body>
14+
<h1 class="myTitle">My unique font</h1>
15+
</body>
1516
</html>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.myTitle {
2+
/* You can use any other font as well - Add your code below this line. */
3+
font-family: "Anton", sans-serif;
4+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width" />
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 -->
9+
<link href="https://fonts.googleapis.com/css2?family=Anton&display=swap" rel="stylesheet" />
10+
<link rel="stylesheet" type="text/css" href="./styles.css" />
11+
12+
<title>10 Your Own Font</title>
13+
</head>
14+
<body>
15+
<h1 class="myTitle">My unique font</h1>
16+
</body>
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-
/*your code here*/
2+
/* Add your code below this line */
3+
34
}

0 commit comments

Comments
 (0)