Skip to content

Commit 6f8c2db

Browse files
Update
Co-Authored-By: JehanKandy <jehankandy@gmail.com>
1 parent c2bd56a commit 6f8c2db

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

codeEditor/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ <h1>Online Code Editor</h1>
2727

2828
</div>
2929
<div class="">
30-
<iframe src="" id="result-code"></iframe>
30+
<p for="" style="padding: 2px 0;">Output</p>
31+
<iframe id="result-code"></iframe>
3132
</div>
3233

3334

css/style.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ textarea{
2727
border: none;
2828
margin: 20px 0;
2929
height: 40vh;
30+
font-size: 20px;
3031
}
31-
iframe{
32-
margin:20px;
32+
iframe {
33+
width: 100%;
34+
height: 20em;
3335
background: white;
34-
border: 2px;
35-
36+
border-radius: 5px;
3637
}

0 commit comments

Comments
 (0)