SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <html>
  8.     <head>
  9.         <title>day 18</title>
  10.         <meta charset="UTF-8">
  11.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12.         <link href="style.css" rel="stylesheet">
  13.  
  14.     </head>
  15.     <body>
  16.         <p id="demo1"></p>
  17.         <p id="demo2"></p>
  18.         <button type="button" onclick="document.getElementById('demo1').innerHTML = 'Add Text'">Click Here</button>
  19.         <p id="demo">
  20.             This is Paragraph
  21.         </p>
  22.         <button type="button" onclick="document.getElementById('demo').innerHTML = 'Hello JAVASCRIPT'">Click Here</button>
  23.  
  24.         <script>
  25.             document.getElementById('demo2').innerHTML = 10 + 5;
  26.             document.write(10 + 35);
  27.             document.write('<br/>');
  28.             document.write('10 + 35');
  29.         </script>
  30.     </body>
  31. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top