Spaces:
Running
Running
Commit
·
ffb8ef6
1
Parent(s):
396a357
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -32,8 +32,8 @@
|
|
| 32 |
|
| 33 |
if (promptInput && codeOutput) {
|
| 34 |
const prompt = promptInput.value;
|
| 35 |
-
//
|
| 36 |
-
const generatedCode = "Generated code
|
| 37 |
|
| 38 |
codeOutput.innerText = generatedCode;
|
| 39 |
}
|
|
|
|
| 32 |
|
| 33 |
if (promptInput && codeOutput) {
|
| 34 |
const prompt = promptInput.value;
|
| 35 |
+
// Example: Generating code based on the prompt
|
| 36 |
+
const generatedCode = "Generated code: " + prompt.toUpperCase();
|
| 37 |
|
| 38 |
codeOutput.innerText = generatedCode;
|
| 39 |
}
|