Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <h1>My first SVG</h1>
  6.  
  7. <svg width="100" height="100">
  8. <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
  9. Sorry, your browser does not support inline SVG.
  10. </svg>
  11.  
  12.  
  13. <canvas id="myCanvas" width="200" height="100"
  14. style="border:1px solid #d3d3d3;">
  15. Your browser does not support the canvas element.
  16. </canvas>
  17.  
  18. <script>
  19. var canvas = document.getElementById("myCanvas");
  20. var ctx = canvas.getContext("2d");
  21. ctx.font = "30px Arial";
  22. ctx.strokeText("Hello World",10,50);
  23. </script>
  24.  
  25. <script id="jsbin-javascript">
  26. console.log('Testing....');
  27. function myApartment() {}
  28.  
  29. var myCoffeeMaker = 'Aeropress';
  30. var buildingAddress = '150 E 14th St, New York, NY';
  31. var myCloset = 'Extra coats in the back';
  32. var buildingLaundryCode = 4927;
  33. var myRefridgerator = 'Filled with veggies and dark chocolate.';
  34. var myDog = 'Nikko';
  35. var buildingPhone = '(481) 516-2342';
  36.  
  37. // Do not edit the code after this line
  38. document.write("**Apartment Building Information**");
  39. document.write("Laundry code: " + buildingLaundryCode + "\nPhone: " + buildingPhone + "\nMailing address: " + buildingAddress);
  40.  
  41. </script>
  42.  
  43. <script id="jsbin-source-html" type="text/html"><!DOCTYPE html>
  44. <html>
  45. <body>
  46.  
  47. <h1>My first SVG</h1>
  48.  
  49. <svg width="100" height="100">
  50. <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
  51. Sorry, your browser does not support inline SVG.
  52. </svg>
  53.  
  54.  
  55. <canvas id="myCanvas" width="200" height="100"
  56. style="border:1px solid #d3d3d3;">
  57. Your browser does not support the canvas element.
  58. </canvas>
  59.  
  60. <script>
  61. var canvas = document.getElementById("myCanvas");
  62. var ctx = canvas.getContext("2d");
  63. ctx.font = "30px Arial";
  64. ctx.strokeText("Hello World",10,50);
  65. <\/script>
  66.  
  67. </body>
  68. </html>
  69. </script>
  70.  
  71.  
  72. <script id="jsbin-source-javascript" type="text/javascript">console.log('Testing....');
  73. function myApartment() {}
  74.  
  75. var myCoffeeMaker = 'Aeropress';
  76. var buildingAddress = '150 E 14th St, New York, NY';
  77. var myCloset = 'Extra coats in the back';
  78. var buildingLaundryCode = 4927;
  79. var myRefridgerator = 'Filled with veggies and dark chocolate.';
  80. var myDog = 'Nikko';
  81. var buildingPhone = '(481) 516-2342';
  82.  
  83. // Do not edit the code after this line
  84. document.write("**Apartment Building Information**");
  85. document.write("Laundry code: " + buildingLaundryCode + "\nPhone: " + buildingPhone + "\nMailing address: " + buildingAddress);
  86. </script></body>
  87. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement