-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrowserCode.html
More file actions
97 lines (91 loc) · 2.66 KB
/
browserCode.html
File metadata and controls
97 lines (91 loc) · 2.66 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="JS Logo.svg" type="image/svg+xml" />
<title>Javascript Compare</title>
<meta name="viewport" content="width=device-width, initial-scale=0.7" />
</head>
<body>
<div class="bar">
<a href="index.html"> <button>Home</button></a>
</div>
<br>
<br>
<br>
<br>
<div class="frame">
<h1>Browser Javascript VS Code.org App Lab Javascript</h1>
</div>
<br />
<div class="frame">
<div style="display:flex">
<iframe
src="https://docs.google.com/presentation/d/1riEzg6YsSVTqn3_31gbt3sKiKmm1nK25qKFIqs_TbhI/preview#slide=id.p"
style="width:50vw" height="600px"></iframe>
<iframe style="
width: 20vw;
height: 600px;
margin-left: 20px;
background-color: white;
" src="markdowntohtml.com.html">
</iframe>
</div>
</div>
<br />
<div class="frame">
<h1>Code.org public source code on github</h1>
<a href="https://github.com/code-dot-org/code-dot-org/blob/staging/apps/src/applab/api.js">View code</a>
</div>
<br>
<div class="frame">
<h1>How to embeded Code.org App Lab's code in real Browser Enviorment</h1>
<p>
-- You can copy the url here and add it to you website
</p>
<table border="0" style="border-color: blue; background-color: skyblue">
<tr>
<th>Type</th>
<th>Code</th>
</tr>
<tr>
<td>Copy the URL</td>
<td>
<input id="scriptURLDisplay" style="
border-radius: 0;
color: black;
background-color: white;
width: 230px;
border-color: blue;
" readonly value="https://richardliucode.github.io/richardcode/applab.js" />
</td>
<td><button id="copyScriptURL">Copy</button></td>
</tr>
<tr>
<td>Copy HTML</td>
<td>
<input id="scriptTagDisplay" style="
border-radius: 0;
color: black;
background-color: white;
width: 230px;
border-color: blue;
" readonly value="<script src='https://richardliucode.github.io/richardcode/applab.js'></script>" />
</td>
<td><button id="button5">Copy</button></td>
</tr>
</table>
<p></p>
<script src="view source hint.js"></script>
<script src="browserAndApplabCodePage.js"></script>
</div>
<br>
<br>
<br>
<footer class="bottombar">
<p style="margin-left:15px;">© 2025 Richard Liu</p>
<p>RichardCode</p>
<p style="margin-right:18px;">Host by GitHub</p>
</footer>
</body>
</html>