forked from truecodersio/JavaScript_Variables
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (52 loc) · 1.3 KB
/
index.html
File metadata and controls
53 lines (52 loc) · 1.3 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
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
body {
background-color: rgb(35, 141, 254);
color: rgb(29, 77, 29);
font-family:Verdana, Geneva, Tahoma, sans-serif;
}
li:hover {
color:aliceblue;
font-size:25px;
}
h1{
font-size:20px;
border:2px rgb(29, 77, 29) solid;
padding: 3px;
background-color: aliceblue;
}
h1:hover {
animation-name: flash;
animation-duration: 0.5s;
animation-iteration-count: 1;
}
@keyframes flash {
from {background-color:aliceblue;
font-size:30px;}
to {background-color:aquamarine;
font-size:20px;}
}
ul {
border:solid 3px aquamarine;
}
</style>
<title>JavaScript Variables</title>
</head>
<body>
<main style="display: flex; justify-content: center; align-items: center">
<div>
<h1>Exercises: JavaScript Variables</h1>
<ul>
<li>Declaring Variables</li>
<li>Working with Strings</li>
<li>Primitive Type Practice</li>
</ul>
</div>
</main>
<script src="app.js"></script>
</body>
</html>