Skip to content

Commit

Permalink
MORE KID FRIENDLY
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocraft987 authored Mar 31, 2024
1 parent 8dbe7c5 commit 497cacc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions editor_new/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,15 @@
<a href="#" onclick="alert('you can\'t publish projects yet! :(');" title="publish your project so the world can see!">publish</a>
<a class="dark-mode-button" id="darkModeToggle"><dmbico alt="Dark Mode"></dmbico></a>
</div>
<!-- Code Tab -->
<div id="blocklyDiv" class="tabpage"></div>
<!-- Costumes Tab -->
<div id="costumeseditordiv" class="tabpage">
<h1>Upload costume</h1>
<input type='file' accept='image/*' id="fileupload" onchange='openFile(event)'><br>
<img id='costume' style="width:70px;" src="https://bark-coding.vercel.app/src/images/dog/idle.svg">
</div>
<!-- Sounds Tab -->
<div id="soundseditordiv" class="tabpage">
<h1>Upload sound</h1>
<input type="file" id="upload" />
Expand All @@ -161,11 +164,12 @@ <h1>Upload sound</h1>
<source src="" id="src" />
</audio>
</div>
<!-- Extensions Tab -->
<div id="extensionseditordiv" class="tabpage">
<p>test</p>

</div>
<div id="editortabs">
<button onclick="document.body.classList.add('code'); document.body.classList.remove('costumes'); document.body.classList.remove('sounds'); document.body.classList.remove('extensions');">Scripts</button>
<button onclick="document.body.classList.add('code'); document.body.classList.remove('costumes'); document.body.classList.remove('sounds'); document.body.classList.remove('extensions');">Code</button>
<button onclick="document.body.classList.remove('code'); document.body.classList.add('costumes'); document.body.classList.remove('sounds'); document.body.classList.remove('extensions');">Costumes</button>
<button onclick="document.body.classList.remove('code'); document.body.classList.remove('costumes'); document.body.classList.add('sounds'); document.body.classList.remove('extensions');">Sounds</button>
<button onclick="document.body.classList.remove('code'); document.body.classList.remove('costumes'); document.body.classList.remove('sounds'); document.body.classList.add('extensions');">Extensions</button>
Expand Down

0 comments on commit 497cacc

Please sign in to comment.