Welcome to a testing room :D

Go Back Home!

Made a new page since this is hell to navigate on editor.

Cleaned this page since it was a hot mess

Thingy Thing

.


Times Flushed:

0














Username


Password

Choose


Star 1


My brain feels like candy adsahbjbsadhbs. I still hate Javascript


The original image is given the ID "myImage".

The onclick attached to the button, "Turn on", gets the id "myImage", and sets the source to something different

Same goes for button "Turn off"

I finally figured out the difference between innerHTML and innerText. innerHTML allows you to put HTML code into a document, meanwhile innerText only allows text, no code.



Note: the code doesn't work without "obj.innerHTML = messages[(messages.indexOf(obj.innerHTML) + 1) % messages.length];"




Image size reference

100x100

200x200

250x250

300x300


Name:MeowCat
















aaa

Drag me :3





The text above has been created dynamically.
The text above has been created dynamically.
The text above has been created dynamically.