The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Javascript sample
By Guest on 8th February 2020 10:54:36 AM | Syntax: JAVASCRIPT | Views: 94



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <h2>JavaScript Expressions</h2>
  6.  
  7. <p>Expressions compute to values.</p>
  8.  
  9. <p id="demo"></p>
  10.  
  11. <script>
  12. document.getElementById("demo").innerHTML = "John" + " "  + "Doe";
  13. </script>
  14.  
  15. </body>
  16. </html>



  • Recent Pastes
  • Lopaaz
    23 hours 45 mins 40 secs ago
  • Fdaa
    1 day 10 hours 49 mins 21 secs ago
  • Hahahahbw
    1 day 18 hours 41 mins 19 secs ago
  • Jajajajaj
    1 day 18 hours 42 mins 20 secs ago
  • Asd
    3 days 15 hours 14 mins 48 secs ago