- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
Latest commit
35 lines (35 loc) · 885 Bytes
/
Copy pathindex.html
File metadata and controls
35 lines (35 loc) · 885 Bytes
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
<!DOCTYPE html>
<htmllang="en">
<head>
<metacharset="UTF-8">
<metaname="viewport" content="width=device-width, initial-scale=1.0">
<title>Crunch C++ Code</title>
<style>
body {
font-family: Arial, sans-serif;
margin:20px;
}
textarea {
width:100%;
height:150px;
}
button {
margin-top:10px;
}
#output {
margin-top:20px;
padding:10px;
border:1px solid #ccc;
white-space: pre-wrap;
}
</style>
</head>
<body>
<h1>Crunch C++ Code</h1>
<textareaid="inputText" placeholder="Enter your code here..."></textarea>
<buttononclick="crunchText()">Crunch</button>
<divid="output"></div>
<scriptsrc="crunch.js">
</script>
</body>
</html>