File tree Expand file tree Collapse file tree 3 files changed +29
-10
lines changed
.learn/resets/10-Your-Own-Font
exercises/10-Your-Own-Font Expand file tree Collapse file tree 3 files changed +29
-10
lines changed Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< 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 -->
7
10
8
- < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
11
+ < link rel ="stylesheet " type ="text/css " href ="./styles.css " />
9
12
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 >
15
18
</ html >
Original file line number Diff line number Diff line change 1
1
.myTitle {
2
2
/*your code here*/
3
+ font-family : Lobster;
3
4
}
You can’t perform that action at this time.
0 commit comments