Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Online Javascript Editor

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<script>
function sayHello() {
   document.write("Hello, Coding Ground!");
}
sayHello();
</script>
</head>
<body>
</body>
</html>

shyamalal

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<script>
function sayHello() {
   document.write("Hello, Coding Ground!");
}
sayHello();
</script>
</head>
<body>
</body>
</html>

Online Javascript Editor

//Create the Model class
function EmailModel(data)
{
//create a storage array for the email addresses
//default to an empty array if there are no addresses
    this.emalAddress = data || [];
}

EmailModel.prototype = 
{
//method that will add a new email address to the list of stored addresses
add: function(email)
{
//add the new email to the start of the array
    this.emailAddresses.unshift(email);

//Publish when a new email is added and pass the new address to 
//any listening module
    observer.publish("model.email-address.added", email);
    },

Online Javascript Editor

<HTML>
    <Head>
        <Script type="text/javascript">
        var fuck = Math.sqrt(2);
        var shit = 4;
        function butts(){
            alert("DROP THE BEAT!!!!");
            shit*=2;
            fuck=Math.sqrt(Math.pow(1-Math.sqrt(1-Math.pow(fuck/2,2)),2)+Math.pow(fuck/2,2));
            alert("Pi eller whatever: "+(fuck*shit/2));
        }
        </Script>
    </Head>
    <Body style="font-size:45px">
Fuck you I have
&nbsp;
<div>
<span style="color:#f00">r</span>
<span style="color:#f50">a</span>
<span style="color:#ff0">i</span>
<span style="color:#5f0">n</span>
<span style="color:#00BFFF">b</span>
<span style="color:#0000FF">o</span>
<span style="color:#800080">w</span>
<span style="color:#FF1493">s</span>
</div>

<div>
<span style="color:#7A37A1">a</span>
<span style="color:#375AA1">n</span>
<span style="color:#37A153">d</span>
</div>

<div>
<span style="color:#4A6789">o</span>
<span style="color:#229BB3">t</span>
<span style="color:#C8DC43">h</span>
<span style="color:#A53A36">e</span>
<span style="color:#5F36A5">r</span>
</div>

<div>
<span style="color:#76C6DE">c</span>
<span style="color:#A0DE76">o</span>
<span style="color:#7676DE">l</span>
<span style="color:#CC71DE">o</span>
<span style="color:#50E240">u</span>
<span style="color:#71DE99">r</span>
<span style="color:#DEDE71">s</span>
</div>
<br>
<br>



<button onclick="butts();"> HEEEEY!!!!
    </Body>
</HTML>

data

<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
var today = new Date();
var UpgradeDay = new Date("November1, 2017");
var msPerDay = 24 * 60 * 60 * 1000;
var timeLeft = (UpgradeDay.getTime() - today.getTime());
var days = timeLeft / msPerDay;
var daysLeft = Math.floor(days);
document.write("There are only<BR> <H4>" + daysLeft + " days </H4> Until Your Computer Upgrade<P>");
</script>
</body>
</html>

JavaScript

<!DOCTYPE html>
<html>
<head>
<title>Web Page Design</title>

<script>
function sayHello() {
   document.write("Hello, Coding Ground!");
}
sayHello();
</script>
</head>
<body>
</body>
</html>

PeopleAssginmentfortheFresher

<!DOCTYPE html>
<html>
<head>
    <title>Web Page Design</title>
<script>
function sayHello() {
   document.write("Hello, Coding!");
}
sayHello();
</script>
</head>
<body>
    <h3>hello</h3>
</body>
</html>

Online Javascript Editor

<!DOCTYPE html>
<html>
<head>
<title>Web Page Design</title>
<script>
function sayHello() {
   document.write("Hello, Coding Ground!");
}
sayHello();
</script>
</head>
<body>
</body>
</html>

xc zxc zc z zxc z zc czv zz zcv zcv zc z

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<script>
function sayHello() {
   document.write("Hello, Coding fgbfxbx!");
}
sayHello();
</script>
</head>
<body>
</body>
</html>

CSS_JavaScript_examples_demo

<!DOCTYPE html>
<html>
<head>
<style>
h1{color: red;}
#para_bold {
   font-weight: bold;
    
}
.para_smallfont {font-style: italic;;}
    
</style>

<title>Web Page Design</title>

<script>

function sayHello() {
   document.write("Hello, Coding Ground!");
}
sayHello();

</script>
</head>
<body>
<h1> Section 1</h1>

<p id = "para_bold"> This paragraph will be in bold</p>
<p class = "para_smallfont"> This is a smaller font paragraph</p>
<p class = "para_smallfont" > this is another smaller font paragraph</p>

<h1> Section 2</h1>
</body>
</html>

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.