-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (43 loc) · 1.9 KB
/
Copy pathindex.html
File metadata and controls
49 lines (43 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Bot Assistant</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header-banner">Code Bot</div>
<div class="assistant-title">Here is your code bot assistant</div>
<div class="app-container">
<div class="input-section">
<textarea id="codePromptField" placeholder="Type what you want to build (e.g., login form, landing page, profile card, calculator, button, todo app)..."></textarea>
<button id="generateCodeBtn" onclick="generateLocalCodeOffline()">Generate Code Source</button>
</div>
<div class="output-grid">
<div class="code-box-wrapper">
<div class="box-header">
<span>HTML</span>
<button class="copy-btn" onclick="copyCodePayload('htmlOutputBox')">Copy HTML</button>
</div>
<textarea id="htmlOutputBox" readonly placeholder="HTML output..."></textarea>
</div>
<div class="code-box-wrapper">
<div class="box-header">
<span>CSS</span>
<button class="copy-btn" onclick="copyCodePayload('cssOutputBox')">Copy CSS</button>
</div>
<textarea id="cssOutputBox" readonly placeholder="CSS output..."></textarea>
</div>
<div class="code-box-wrapper">
<div class="box-header">
<span>JavaScript</span>
<button class="copy-btn" onclick="copyCodePayload('jsOutputBox')">Copy JS</button>
</div>
<textarea id="jsOutputBox" readonly placeholder="JavaScript output..."></textarea>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>