Guest User

Untitled

a guest
Jan 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>JS Bin</title>
  7. </head>
  8. <body>
  9.  
  10. <script id="jsbin-javascript">
  11. //write your answers below
  12.  
  13. var recitePoem = function () {
  14. console.log("Roses are red, violets are blue");
  15. };
  16.  
  17. recitePoem();
  18.  
  19. // Part 2
  20.  
  21. var playSong = function () {
  22. console.log("Cheer up sleepy John, Oh, what can it mean?");
  23. };
  24.  
  25. playSong();
  26.  
  27. // Part 3
  28.  
  29. var twoByFour = function () {
  30. console.log(2 * 4);
  31. };
  32.  
  33. twoByFour();
  34. </script>
  35.  
  36.  
  37.  
  38. <script id="jsbin-source-javascript" type="text/javascript">//write your answers below
  39.  
  40. var recitePoem = function () {
  41. console.log("Roses are red, violets are blue");
  42. };
  43.  
  44. recitePoem();
  45.  
  46. // Part 2
  47.  
  48. var playSong = function () {
  49. console.log("Cheer up sleepy John, Oh, what can it mean?");
  50. };
  51.  
  52. playSong();
  53.  
  54. // Part 3
  55.  
  56. var twoByFour = function () {
  57. console.log(2 * 4);
  58. };
  59.  
  60. twoByFour();
  61.  
  62.  
  63. </script></body>
  64. </html>
Add Comment
Please, Sign In to add comment