this page is for people who want to mess around with JS
or me when i want to test a new script
so i guess... open the console (usually f12 or right click -> inspect)
or use this here handy textbox
i would like this page to give a "debug room" kind of vibe but i don't know how i would do that :(
here's a link to every page :)
raypath1.png
raypath10.png
raypath11.png
raypath12.png
raypath13.png
raypath14.png
raypath15.png
raypath16.png
raypath17.png
raypath18.png
raypath19.png
raypath2.png
raypath20.png
raypath21.png
raypath22.png
raypath23.png
raypath24.png
raypath25.png
raypath26.png
raypath27.png
raypath28.png
raypath29.png
raypath3.png
raypath30.png
raypath31.png
raypath32.png
raypath33.png
raypath34.png
raypath35.png
raypath36.png
raypath37.png
raypath38.png
raypath39.png
raypath4.png
raypath40.png
raypath41.png
raypath42.png
raypath43.png
raypath44.png
raypath45.png
raypath46.png
raypath47.png
raypath48.png
raypath49.png
raypath5.png
raypath50.png
raypath51.png
raypath52.png
raypath6.png
raypath7.png
raypath8.png
raypath9.png
404
accordion.css
blog
changelog
chat
cheese.css
computer
copypastes
desktop.css
desktop
dialogue
factorio
generated
grabbyhand.png
heat-gun.jpg
index
keypad
laptop.gif
links
not-me.png
parserlang
raypath
secrets.json
test
webgl
guess i'll just debug in here
i'll show random things maybe? idk
more of a feature showcase actually
accordion :)
like this
system that can render as both html and js (wow)
and it's mine (i made it (so it's mine))
as javascript
let logincontainer; let usernameinput; let passwordinput; let resettokeninput; let success; let loggedincontainer; let messageinput; let chatidinput; let messagebox; logincontainer=element("div",{style:'border: 5px solid white; display: inline-block;',},'log in or sign up', element("br",{},), 'username:', usernameinput=element("input",{['type']:'text',},), element("br",{},), 'password:', passwordinput=element("input",{['type']:'text',},), element("br",{},), element("button",{events:{['click']:()=>{login(usernameinput.value, passwordinput.value)},},},'login'), element("button",{events:{['click']:()=>{createaccount(usernameinput.value, passwordinput.value)},},},'sign up'), element("br",{},), 'reset token:', resettokeninput=element("input",{['type']:'text',},), element("button",{events:{['click']:()=>{resetpassword(usernameinput.value, passwordinput.value, resettokeninput.value)},},},'reset password'), success=element("div",{},)), loggedincontainer=element("div",{style:'display: none;',},"I STOLE YOU'R PASS WORD AND USE RNAME!!!!!!!!!!", element("br",{},), messageinput=element("input",{['type']:'text',events:{['keyup']:()=>{if(event.key=="Enter"){sendmessage(),event.preventDefault()}},},},), element("br",{},), element("button",{events:{['click']:()=>{sendmessage()},},},'send'), element("button",{events:{['click']:()=>{logout()},},},'logout')), element("div",{},chatidinput=element("input",{['type']:'text',},), element("button",{events:{['click']:()=>{movechat(+chatidinput.value)},},},'go to another chat')), messagebox=element("div",{},)
or as html
<div style='border: 5px solid white; display: inline-block;' id='logincontainer' >log in or sign up <br /> username: <input type='text' id='usernameinput' /> <br /> password: <input type='text' id='passwordinput' /> <br /> <button onclick='login(usernameinput.value, passwordinput.value)' >login</button> <button onclick='createaccount(usernameinput.value, passwordinput.value)' >sign up</button> <br /> reset token: <input type='text' id='resettokeninput' /> <button onclick='resetpassword(usernameinput.value, passwordinput.value, resettokeninput.value)' >reset password</button> <div id='success' ></div></div> <div style='display: none;' id='loggedincontainer' >I STOLE YOU'R PASS WORD AND USE RNAME!!!!!!!!!! <br /> <input type='text' onkeyup='if(event.key=="Enter"){sendmessage(),event.preventDefault()}' id='messageinput' /> <br /> <button onclick='sendmessage()' >send</button> <button onclick='logout()' >logout</button></div> <div ><input type='text' id='chatidinput' /> <button onclick='movechat(+chatidinput.value)' >go to another chat</button></div> <div id='messagebox' ></div> <script> let logincontainer = document.querySelector("#logincontainer"); let usernameinput = document.querySelector("#usernameinput"); let passwordinput = document.querySelector("#passwordinput"); let resettokeninput = document.querySelector("#resettokeninput"); let success = document.querySelector("#success"); let loggedincontainer = document.querySelector("#loggedincontainer"); let messageinput = document.querySelector("#messageinput"); let chatidinput = document.querySelector("#chatidinput"); let messagebox = document.querySelector("#messagebox"); </script>
it looks right too :)