File tree Expand file tree Collapse file tree 4 files changed +31
-12
lines changed
exercises/10-Your-Own-Font Expand file tree Collapse file tree 4 files changed +31
-12
lines changed 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
+ < meta charset ="utf-8 " />
5
+ < meta name ="viewport " content ="width=device-width " />
6
+ < link rel =" stylesheet " type =" text/css " href =" ./styles.css " / >
7
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 >
8
+ < title > 10 Your Own Font</ title >
9
+ </ head >
10
+ < body >
11
+ < h1 class ="myTitle "> My unique font</ h1 >
12
+ </ body >
15
13
</ html >
Original file line number Diff line number Diff line change
1
+ .myTitle {
2
+ /* FONT CHOSEN */
3
+ font-family : "Anton" , sans-serif;
4
+ }
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
+ < link rel ="preconnect " href ="https://fonts.googleapis.com " />
7
+ < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin />
8
+ < link href ="https://fonts.googleapis.com/css2?family=Anton&display=swap " rel ="stylesheet " />
9
+
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 >
Original file line number Diff line number Diff line change 1
1
.myTitle {
2
- /*your code here*/
2
+
3
3
}
You can’t perform that action at this time.
0 commit comments