-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (82 loc) · 2.9 KB
/
index.html
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MINI JS LEARNING APP</title>
<!-- favicon -->
<link rel="shortcut icon" href="/Mini-JS-Learning-App/redketchup/android-chrome-192x192.png" type="image/x-icon">
<link rel="shortcut icon" href="/Mini-JS-Learning-App/redketchup/android-chrome-512x512.png" type="image/x-icon">
<link rel="shortcut icon" href="/Mini-JS-Learning-App/redketchup/apple-touch-icon.png" type="image/x-icon">
<link rel="shortcut icon" href="/Mini-JS-Learning-App/redketchup/favicon-16x16.png" type="image/x-icon">
<link rel="shortcut icon" href="/Mini-JS-Learning-App/redketchup/favicon-32x32.png" type="image/x-icon">
<link rel="shortcut icon" href="/Mini-JS-Learning-App/redketchup/favicon.ico" type="image/x-icon">
<style>
@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
body{
background-color: black;
}
.head{
color: red;
text-align: center;
font-size: 45px;
font-family: 'Varela Round';
font-weight: bolder;
background-color: antiquewhite;
}
.head:hover{
color: green;
}
#buttons{
/* border: 1px solid black; */
height: 100px;
width: 660px;
margin: auto;
margin-top: 60px;
}
#buttons>button{
width: 160px;
height: 50px;
cursor: pointer;
margin-top: 20px;
font-family: 'Varela Round';
font-size: 13px;
font-weight: bolder;
color: white;
background-color: crimson;
border-radius: 8px;
}
#buttons>button:hover{
background-color: antiquewhite;
color: black;
}
#infoBox{
border: 8px solid green;
height: 25vh;
background-color: white;
width: 90%;
margin: auto;
border-radius: 55px;
background-color: rgb(191, 218, 175);
}
#infoBox:hover{
border: 8px solid darkblue;
background-color: rgb(174, 175, 216);
}
</style>
</head>
<body>
<a href="/Mini-JS-Learning-App/index.html"><p class="head"><u>MINI JS LEARNING APP</u></p></a>
<div id="buttons">
<!--Create buttons namely “Scope”, “Hoisting”, ‘Constructor Functions’, ‘Prototype’ in index.html. Each button will have it's respective name as HTML id. For e.g Scope button will HTML id as "scope". ( Note: no capital letter in id )-->
<button id="scope">Scope</button>
<button id="hoisting" >Hoisting</button>
<button id="constructor_functions">Constructor Functions</button>
<button id="prototype">Prototype</button>
</div>
<div id = "infoBox">
</div>
</body>
</html>
<script src="/Mini-JS-Learning-App/index.js"></script>