-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (83 loc) · 3.99 KB
/
index.html
File metadata and controls
89 lines (83 loc) · 3.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ByteBandits-CodeTranslator</title>
<link rel="stylesheet" href="./style.css">
<link rel="icon" href="./logoNobg.png" type="image/x-icon" />
</head>
<body>
<video autoplay muted loop id="background-video">
<source src="./b4.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<header>ByteBandits-CodeTranslator</header>
<div class="content">
<div class="main">
<div class="up">
<div class="input">
<!-- Add Drop Down List -->
<select id="languageSelect" class="drop">
<option value="java">Java</option>
<option value="python">Python</option>
<option value="javascript">JavaScript</option>
<option value="cpp">C++</option>
<option value="ruby">Ruby</option>
<option value="csharp">C#</option>
<option value="swift">Swift</option>
<option value="go">Go</option>
<option value="php">PHP</option>
<option value="rust">Rust</option>
</select>
<textarea id="codeInput" rows="10" placeholder="Welcome To CodeTranslator Powerd By ByteBandits...
Step 1: Paste your code here
Step 2: Select input language if possible👆👆
One more Step: Select your prefered options👇👇
"></textarea>
</div>
<div class="result">
<select id="languageOut" class="drop">
<option value="java">Java</option>
<option value="python">Python</option>
<option value="javascript">JavaScript</option>
<option value="cpp">C++</option>
<option value="ruby">Ruby</option>
<option value="csharp">C#</option>
<option value="swift">Swift</option>
<option value="go">Go</option>
<option value="php">PHP</option>
<option value="rust">Rust</option>
</select>
<div id="output">
<br><br><br>
Step 3: Select output Language👆👆
</div>
<button id="copyButton" class="button">
<svg fill="white" viewBox="0 0 384 512" height="1em" xmlns="http://www.w3.org/2000/svg"><path d="M280 64h40c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64h40 9.6C121 27.5 153.3 0 192 0s71 27.5 78.4 64H280zM64 112c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320c8.8 0 16-7.2 16-16V128c0-8.8-7.2-16-16-16H304v24c0 13.3-10.7 24-24 24H192 104c-13.3 0-24-10.7-24-24V112H64zm128-8a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"></path></svg>
</button>
</div>
</div>
<div class="down">
<button id="translateLanguage" class="button action">
Translate
</button>
<button id="findBugs" class="button action">
Find Bugs
</button>
<button id="resolveBugs" class="button action">
Resolve Bugs
</button>
<button id="generateTestcases" class="button action">
Generate Testcases
</button>
<button id="improveCode" class="button action">
Improve Code
</button>
</div>
</div>
<footer>© ByteBandits 2024</footer>
</div>
<script src="./script.js"></script>
</body>
</html>