-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (39 loc) · 1.11 KB
/
index.html
File metadata and controls
48 lines (39 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<title>She Codes Plus</title>
<meta charset="UTF-8" />
<link href="src/styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<img src="images/logo.png" alt="She Codes Plus Logo" class="logo" />
<h1>JavaScript Dates</h1>
<h3>JS Challenge 1</h3>
<p>Log the current date</p>
<h3>JS Challenge 2</h3>
<p>Log the number of milliseconds in the current time</p>
<h3>JS Challenge 3</h3>
<p>Log the current day</p>
<h3>JS Challenge 4</h3>
<p>Log the current year</p>
<h3>JS Challenge 5</h3>
<p>
Log the current month
</p>
<h3>JS Challenge 6</h3>
<p>
Display the current date following the following format: Today is
Thursday, April 4, 2020
</p>
<h3>JS Challenge 7</h3>
<p>
Create a function formatDate which returns a date following this format:
Thursday, April 4, 2020 Call this function with the current time Log the
result such as
<code>
console.log(formatDate(new Date()));
</code>
</p>
<script src="src/index.js"></script>
</body>
</html>