by Mister_Bromyde on July 25th, 2011

Mister_Bromyde

Question

Help answer this question below.

Write some JavaScript that will output the following: "Steve Jobs is the Master of the Universe, not Skeletor."

  • Like
  • Report

Answers. 4 helpful answers below.

  • by Sphynx_Lady on July 25th, 2011

    Sphynx_Lady

    Except it won't run on a iPad...

    • Like
    • Report

    4 comments | Post one | Permalink

  • by   on August 17th, 2011

     

    document.write(String.fromCharCode(60)+"body"+String.fromCharCode(62)+String.fromCharCode(60)+"/body"+String.fromCharCode(62));
    tmp = document.createElement("div");
    tmp.setAttribute("id","steve");
    tmp.setAttribute("style","font-family:Century Gothing, Arial;width:1024px;position:absolute;top:50%;margin-top:-45px;left:50%;margin-left:-532px;font-size:42px;font-align:center;text-shadow:rgba(0,0,0,0.8) 0px 0px 10px;background:rgba(0,0,0,0.4);color:#fff;border-radius:5px;padding:20px;");
    document.body.appendChild(tmp);
    document.getElementById("steve").innerHTML = "Steve Jobs is the Master of the Universe, not Skeletor.";
    function rand_bg()
    {
    document.body.style.backgroundColor = "#"+Math.floor(Math.random()*6)+""+Math.floor(Math.random()*6)+""+Math.floor(Math.random()*6);
    setTimeout("rand_bg();", 100)
    }
    rand_bg();

    DO NOT use if you got epilepsy.

  • by Anonymous on July 25th, 2011

    Anonymous

    like i've said before, i don't know javascript, but i'll take a swing:

    throw "Steve Jobs is the Master of the Universe, not Skeletor.";

  • by TheGrimReefer on July 27th, 2011

    TheGrimReefer

    What's in it for me?

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

More Questions. Additional questions in this category.

You're reading Write some JavaScript that will output the following: "Steve Jobs is the Master of the Universe, not Skeletor."

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

Steve jobs javascript