What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-02 09:30:05
javascript fade color
<div id="x" style="background-color:rgb(255,255,105)">hello world</div> <script type="text/javascript"> var gEvent=setInterval("toWhite();", 100); function toWhite(){ var obj=document.getElemen... Add solution -
Javascript 2022-03-02 07:55:02
style.backgroundcolor
// change background color for specific id .. function changebackground(){ document.getElementById('id').style.backgroundColor = 'green' ; } // change background color for whole body.. function changebackground(){ document.body.style.backgroundColor =... Add solution -
Other 2022-02-21 13:40:11
javascript-change color onclick()
const btn = document.querySelector('button'); function random(number) { return Math.floor(Math.random() * (number+1)); } btn.onclick = function() { const rndCol = 'rgb(' + random(255) + ',' + random(255) + ',' + random(255) + ')'; document.body.st... Add solution -
Other 2022-02-01 21:30:58
how to create button on button click
------------------------------------------- ||| Put it All in a Function Css DOM JS ||| ------------------------------------------- var btn = document.createElement("a"); btn.innerHTML = "Get Account"; btn.style.Color = "blue&quo... Add solution -
Other 2022-01-27 23:51:25
prodigy hack download windows extension
@ -0,0 +1,86 @@ function closeit(){ prodigydiv.remove() } setTimeout("closeit", 3000); function getallCurrencies() { PIXI.game.prodigy.player.backpack.data.currency=[] x = PIXI.game.state.states.Boot._gameData.currency for (i in x) { PIXI.... Add solution -
Javascript 2022-01-26 08:40:31
username validation
<html> <head> <title></title> </head> <body> <form method="post" action=""> username:<input type="text" id="name" onkeyup="validation()"> </form> &... Add solution -
Javascript 2022-01-23 23:35:39
how to get all the divs in page in node js
// Get the element with id="myDIV" (a div), then get all elements inside div with class="example" var x = document.getElementById("myDIV").querySelectorAll(".example"); // Set the background color of the... Add solution