-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (89 loc) · 4.35 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
89
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
<script src="http://www.skulpt.org/js/skulpt.min.js" type="text/javascript"></script>
<script src="http://www.skulpt.org/js/skulpt-stdlib.js" type="text/javascript"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="ide.js"></script>
<script src="logic.js"></script>
<link href='https://fonts.googleapis.com/css?family=Alegreya Sans SC' rel='stylesheet'>
<title>JsProject-2</title>
</head>
<body>
<div class="main__heading">
<h1 class="main__heading--content">Test Your Python</h1>
<h3 class="sub__heading--content">Let's do it...</h3>
</div>
<div class="sections">
<div class="section__string" id="section--0">
<div class="section__string--heading">Python Strings</div>
<div class="section__string--sub-heading">Hey! Take a look at Amazing Python Strings.</div>
</div>
<div class="section__string--ques" id="section-0">
<div class="string__ques">
Write a Python Program to print the length of the given string without
using built-in len() function.
</div>
<form action="#">
<textarea id="yourstring" cols="45" rows="15" class="codearea"></textarea>
<button type="button" onclick="runit()" class="button-0">Run</button>
<button class="close-0">Close</button>
<div class="output__box">Output:</div>
<pre id="output"></pre>
</form>
</div>
<div class="section__loops" id="section--1">
<div class="section__loops--heading">Python loops</div>
<div class="section__loops--sub-heading">Hey! Take a look at Amazing Python Loops.</div>
</div>
<div class="section__string--ques" id="section-1">
<div class="string__ques">
Write a Python Program to print the the factorial of the Number 5.
</div>
<form action="#">
<textarea id="yourstring" cols="45" rows="15" class="codearea"></textarea>
<button type="button" onclick="runit()" class="button-0">Run</button>
<button class="close-1">Close</button>
<div class="output__box">Output:</div>
<pre id="output"></pre>
</form>
</div>
<div class="section__lists" id="section--2">
<div class="section__lists--heading">Python Lists</div>
<div class="section__lists--sub-heading">Hey! Take a look at Amazing Python Lists.</div>
</div>
<div class="section__string--ques" id="section-2">
<div class="string__ques">
Write a Program to create a list having all prime numbers
b/w 2 to 100.
</div>
<form action="#">
<textarea id="yourstring" cols="45" rows="15" class="codearea"></textarea>
<button type="button" onclick="runit()" class="button-2">Run</button>
<button class="close-2">Close</button>
<div class="output__box">Output:</div>
<pre id="output"></pre>
</form>
</div>
<div class="section__dictionaries" id="section--3">
<div class="section__dictionaries--heading">Python Dictionaries</div>
<div class="section__dictionaries--sub-heading">Hey! Take a look at Amazing Python Dictionaries.</div>
</div>
<div class="section__string--ques" id="section-3">
<div class="string__ques">
Write a Python Program to print the freuency of each letter in a
given String.
</div>
<form action="#">
<textarea id="yourstring" cols="45" rows="15" class="codearea"></textarea>
<button type="button" onclick="runit()" class="button-3">Run</button>
<button class="close-3">Close</button>
<div class="output__box">Output:</div>
<pre id="output"></pre>
</form>
</div>
</div>
</body>
</html>