this repo has no description
at main 40 lines 796 B view raw
1<!doctype html> 2<html> 3 <head> 4 <title>JavaScript Demo</title> 5 </head> 6 <body> 7 <button onclick="my_function()">Try it</button> 8 <br /> 9 <button onclick="scream()">Try it</button> 10 <br /> 11 <h2 id="text">click</h2> 12 13 <h1 id="heading">heading! hello dom</h1> 14 <input 15 id="input" 16 type="text" 17 placeholder="Type something..." 18 onkeydown="showmessage()" 19 /> 20 21 <h1 id="mytitle">my title</h1> 22 23 <div class="box">box</div> 24 25 <p>xd</p> 26 <ul> 27 <li>list item 1</li> 28 </ul> 29 30 <h1 id="title1">title1</h1> 31 <h1 id="title2">title2</h1> 32 <h1 id="title3">title3</h1> 33 <button id="btn">change</button> 34 35 <div id="demo"></div> 36 <p id="demo3"></p> 37 38 <script type="text/javascript" src="demo.js"></script> 39 </body> 40</html>