Skip to content

Commit 983ff9f

Browse files
committed
Add CSS styles
1 parent f0b166c commit 983ff9f

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

index.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
3-
4-
<head>
3+
<head>
54
<title>Current Date and Time Progress</title>
6-
</head>
7-
8-
<body>
9-
<h1>Current Date and Time Progress</h1>
10-
<p>Current date and time: <span id="currentDateTime"></span></p>
11-
<p>Current date and time (UTC): <span id="currentDateTimeUtc"></span></p>
12-
<p>Current progress: <span id="currentProgress"></span></p>
13-
<script src="main.js"></script>
14-
</body>
15-
5+
<link rel="stylesheet" href="styles.css">
6+
</head>
7+
<body>
8+
<h1>Current Date and Time Progress</h1>
9+
<p>Current date and time: <span id="currentDateTime"></span></p>
10+
<p>Current date and time (UTC): <span id="currentDateTimeUtc"></span></p>
11+
<p>Current progress: <span id="currentProgress"></span></p>
12+
<script src="main.js"></script>
13+
</body>
1614
</html>

styles.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
* {
2+
font-family: system-ui, sans-serif;
3+
}
4+
span {
5+
white-space: pre-line;
6+
}

0 commit comments

Comments
 (0)