repl.it
@Coding1000/

Ultimate Troll

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • Fortnite.jpg
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
		<!-- must add that -> --><script src="script.js"></script><!-- <-- must add that-->
  </head>
  <body>
   <h1>Buy a Nintendo Switch with Fortnite on it for Free! Save 
$932.36!</h1>   
<img onclick="troll()" src="Fortnite.jpg"><!-- add the > in the end of the img tag-->
  </body>
</html>
result
console
?