-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathexamples.html
More file actions
69 lines (56 loc) · 1.52 KB
/
Copy pathexamples.html
File metadata and controls
69 lines (56 loc) · 1.52 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/javascript.min.js"></script>
<link rel='stylesheet' href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai.min.css"/>
<title>Objects</title>
<style>
body {
display: grid;
width: 100%;
grid-template-columns: 150px 1fr;
margin: 0;
}
#sidebar {
background: darkslategrey;
padding: 20px;
}
#sidebar-items {
position: fixed
}
#sidebar a {
display: block;
color: yellow;
line-height: 30px;
font-family: monospace;
font-weight: bold;
}
#sidebar a:hover {
cursor: pointer;
color: magenta;
}
#codes {
background: black;
color: lightgoldenrodyellow;
padding: 20px;
}
.example-link {
font-family: sans-serif;
font-size: 14px;
}
.example-link:hover {
cursor: pointer;
color: magenta;
}
</style>
</head>
<body>
<div id="sidebar"><div id="sidebar-items"></div></div>
<div id="codes"></div>
<script src="examples/columns.js"></script>
<script src="examples/arrays.js"></script>
<script src="examples/scopes.js"></script>
<script src="examples/promises.js"></script>
<script src="examples.js"></script>
</body>
</html>