-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplayground.html
More file actions
63 lines (53 loc) · 2.18 KB
/
playground.html
File metadata and controls
63 lines (53 loc) · 2.18 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
<!DOCTYPE html>
<html>
<head>
<title>DevTrackr – Playground</title>
<link rel="stylesheet" href="style.css">
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.6.1/firebase-auth-compat.js"></script>
<script src="https://cdn.jsdelivr.net/pyodide/v0.23.4/full/pyodide.js"></script>
</head>
<body class="app">
<div class="page">
<div class="left-panel">
<h1><span>Dev</span>Trackr</h1>
<p>Quick JavaScript playground to test snippets linked to your daily logs and learning journey.</p>
</div>
<div class="right-panel">
<div class="top-nav">
<div><span class="badge">Code playground</span></div>
<div>
<a href="dashboard.html">Logs</a>
<a href="github.html">GitHub</a>
<a href="code-class.html">Code_Class</a>
<a href="profile.html">Profile</a>
<a href="playground.html" class="active">Playground</a>
<a href="#" id="btn-logout">Logout</a>
</div>
</div>
<div class="card wide">
<h2>Code playground</h2>
<div class="playground-toolbar">
<div class="playground-left">
<label for="code-lang">Language</label>
<select id="code-lang" class="select-inline">
<option value="javascript">JavaScript</option>
<option value="python">Python</option>
</select>
</div>
<div class="playground-right">
<button id="btn-run-code" class="btn-primary">Run code</button>
</div>
</div>
<label for="code-input">Code</label>
<textarea id="code-input" class="code-editor" rows="8"></textarea>
<label for="code-stdin">Input (one line per call to input())</label>
<textarea id="code-stdin" rows="2" placeholder="Enter data here, one per line Example: first line for first input() Example: second line for second input()\"></textarea>
<h3 style="margin-top:18px;">Output</h3>
<pre id="code-output" class="code-output">No output</pre>
</div>
</div>
</div>
<script src="app-playground.js"></script>
</body>
</html>