User:Shay Taylor

From The Waste Land Wiki
Jump to: navigation, search
 
Line 1: Line 1:
<!DOCTYPE html>
 
 
<html>
 
<html>
 
<body>
 
<body>
  
<p>Click the button to display an alert box.</p>
+
<button onclick="myFunction()"> DON'T CLICK THIS</button>
 
+
<button onclick="myFunction()">Try it</button>
+
  
 
<script>
 
<script>
 
function myFunction() {
 
function myFunction() {
     alert("Hello! I am an alert box!");
+
while (true) {
 +
     alert("Hello! I am an alert box!");}
 
}
 
}
 
</script>
 
</script>

Latest revision as of 20:25, 1 March 2017

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox