Skip to content

Commit

Permalink
Added HTML Playground
Browse files Browse the repository at this point in the history
  • Loading branch information
WiktorProj committed Jul 21, 2024
1 parent c37759f commit 305acd9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions html_playground/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<body>
<h1>HTML Playground</h1>
<p><small><a href="..\index.html">Back to Homepage...</a></small></p>
<textarea id="code"></textarea>
<hr>
<div id="output"></div>
</body>
<head>
<title>
HTML Playground
</title>
<style>
* {
font-family: Consolas;
}
</style>
<script>
setInterval(()=>{
document.getElementById("output").innerHTML = document.getElementById("code").value
},1000/40)
</script>
</head>
</html>
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
<h1>Welcome to my page</h1>
<p>There's nothing really here at the moment...</p>
<p>Want to see some <a href="js_examples/index.html">JS Examples</a>?</p>
<p><a href="html_playground/index.html">HTML Playground</a></p>
</body>
</html>

0 comments on commit 305acd9

Please sign in to comment.