Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nishap24 committed Jul 24, 2023
1 parent ee3870c commit 5edb1f6
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>NK Codes💛-Live Code Editor</title>
<!--Icon for the Website-->
<link rel="icon" href="./images/logo-black.png" type="icon/x-image">
<!--External Style Sheet-->
<link rel="stylesheet" href="./style.css">
</head>

<body>
<div class="header">
<h1>Live Code Editor</h1>
<div class="file-name">
<input type="text" id="file-name" placeholder="Enter file name">
</div>
</div>
<div class="code-editor">
<div class="code">
<div class="html-code">
<h1><img src="images/html.png" alt="">HTML</h1>
<textarea></textarea>
</div>
<div class="css-code">
<h1><img src="images/CSS.png" alt="">CSS</h1>
<textarea></textarea>
</div>
<div class="js-code">
<h1><img src="images/js.png" alt="">JS</h1>
<textarea spellcheck="false"></textarea>
</div>
</div>
<iframe id="result"></iframe>
</div>
<div class="buttons">
<button class="save" onclick="saveCode()">Save</button>
<button class="reset" onclick="resetEditor()">Reset</button>
<button class="download" onclick="downloadCode()">Download</button>
</div>


<!--JS Files-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.7.1/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.5/FileSaver.min.js"></script>
<script src="script.js"></script>
</body>

</html>

0 comments on commit 5edb1f6

Please sign in to comment.