-
Notifications
You must be signed in to change notification settings - Fork 0
/
JsSandbox.html
52 lines (44 loc) · 2.44 KB
/
JsSandbox.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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>My Little Underground</title>
<link rel="icon" type="image/png" href="images/tabicon.png">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-aFq/bzH65dt+w6FI2ooMVUpc+21e0SRygnTpmBvdBgSdnuTN7QbdgL+OapgHtvPp" crossorigin="anonymous">
<link rel="stylesheet" href="css/mlu.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/js/bootstrap.bundle.min.js" integrity="sha384-qKXV1j0HvMUeCBQ+QVp7JcfGl760yU08IQ+GpUo5hlbpg51QRiuqHAJz8+BrxE/N" crossorigin="anonymous"></script>
<script src="js/sampleJS.js"></script>
</head>
<body>
<div id="nav-placeholder"></div>
<div class="container-fluid pt-5">
<h1 class="display-1" id="JsSandbox_title">JavaScript Sandbox</h1>
</div>
<div class="container mt-5">
<div class="h3">Sample JS</div>
<button type="button" class="btn btn-primary" onclick="conditional()">Conditional</button>
<button type="button" class="btn btn-primary" onclick="scopeValues()">Variables</button>
<button type="button" class="btn btn-primary" onclick="howdy()">Greetings!</button>
<button type="button" class="btn btn-primary" onclick="evalNumber()">Evaluate Number</button>
<button type="button" class="btn btn-warning" onclick="changeTitle()">Change Title</button>
<a href="DigitalChalkboard_Week5.html">
<button type="button" class="btn btn-primary">Digital Chalkboard</button>
</a>
</div>
<div class="container mt-5">
<div class="h3" id = "current_minute">Display the Current Minute</div>
<button type="button" class="btn btn-warning" onclick="currentMinute()">Current Minute</button>
</div>
<div class="container mt-5">
<div class="h3" id = "disappear">Makes an element disappear</div>
<button type="button" class="btn btn-warning" onclick="disappear()">Hide the Poem!</button>
</div>
<div id="footer-placeholder"></div>
<script src="js/nav.js"></script>
<script src="js/footer.js"></script>
<script src="js/wikiAPI.js"></script>
</body>
</html>