Skip to content

Commit f69ad9b

Browse files
committed
create external css file and link it to html
1 parent ee0cecd commit f69ad9b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

starter/03-CSS-Fundamentals/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5+
<link href="style.css" rel="stylesheet" />
56
<title>The Basic Language of the Web: HTML</title>
6-
<style>
7-
h1 {
8-
color: blue;
9-
}
10-
</style>
117
</head>
128

139
<body>

starter/03-CSS-Fundamentals/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
h1 {
2+
color: blue;
3+
}

0 commit comments

Comments
 (0)