File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ <h1>Online Code Editor</h1>
1616 </ div >
1717 < div class ="code-in ">
1818 < label for =""> CSS</ label > < br >
19- < textarea id ="for-html " onkeyup ="runCode() "> </ textarea >
19+ < textarea id ="for-css " onkeyup ="runCode() "> </ textarea >
2020 </ div >
2121 < div class ="code-in ">
2222 < label for =""> JS</ label > < br >
23- < textarea id ="for-html " onkeyup ="runCode() "> </ textarea >
23+ < textarea id ="for-js " onkeyup ="runCode() "> </ textarea >
2424 </ div >
2525
2626 </ div >
Original file line number Diff line number Diff line change 1+ function runCode ( ) {
2+ const codeHtml = document . getElementById ( 'for-html' ) ;
3+ const codeCss = document . getElementById ( 'for-css' ) ;
4+ const codeJS = document . getElementById ( 'for-js' ) ;
5+ const codeResult = document . getElementById ( 'result-code' ) ;
6+
7+ }
You can’t perform that action at this time.
0 commit comments