Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

 1 Comment(s)

  • Hello try this javascript for random background color
    HTML:-
    <div id="background">&nbsp</div>
    Javascript:-
    var i = 0;
    function change() {
      var doc = document.getElementById("background");
      var color = ["black", "blue", "brown", "green"];
      doc.style.backgroundColor = color[i];
      i = (i + 1) % color.length;
    }
    setInterval(change, 1000);
     
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: