Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <body>
- <h1>My first SVG</h1>
- <svg width="100" height="100">
- <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
- Sorry, your browser does not support inline SVG.
- </svg>
- <canvas id="myCanvas" width="200" height="100"
- style="border:1px solid #d3d3d3;">
- Your browser does not support the canvas element.
- </canvas>
- <script>
- var canvas = document.getElementById("myCanvas");
- var ctx = canvas.getContext("2d");
- ctx.font = "30px Arial";
- ctx.strokeText("Hello World",10,50);
- </script>
- <script id="jsbin-javascript">
- console.log('Testing....');
- function myApartment() {}
- var myCoffeeMaker = 'Aeropress';
- var buildingAddress = '150 E 14th St, New York, NY';
- var myCloset = 'Extra coats in the back';
- var buildingLaundryCode = 4927;
- var myRefridgerator = 'Filled with veggies and dark chocolate.';
- var myDog = 'Nikko';
- var buildingPhone = '(481) 516-2342';
- // Do not edit the code after this line
- document.write("**Apartment Building Information**");
- document.write("Laundry code: " + buildingLaundryCode + "\nPhone: " + buildingPhone + "\nMailing address: " + buildingAddress);
- </script>
- <script id="jsbin-source-html" type="text/html"><!DOCTYPE html>
- <html>
- <body>
- <h1>My first SVG</h1>
- <svg width="100" height="100">
- <circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="yellow" />
- Sorry, your browser does not support inline SVG.
- </svg>
- <canvas id="myCanvas" width="200" height="100"
- style="border:1px solid #d3d3d3;">
- Your browser does not support the canvas element.
- </canvas>
- <script>
- var canvas = document.getElementById("myCanvas");
- var ctx = canvas.getContext("2d");
- ctx.font = "30px Arial";
- ctx.strokeText("Hello World",10,50);
- <\/script>
- </body>
- </html>
- </script>
- <script id="jsbin-source-javascript" type="text/javascript">console.log('Testing....');
- function myApartment() {}
- var myCoffeeMaker = 'Aeropress';
- var buildingAddress = '150 E 14th St, New York, NY';
- var myCloset = 'Extra coats in the back';
- var buildingLaundryCode = 4927;
- var myRefridgerator = 'Filled with veggies and dark chocolate.';
- var myDog = 'Nikko';
- var buildingPhone = '(481) 516-2342';
- // Do not edit the code after this line
- document.write("**Apartment Building Information**");
- document.write("Laundry code: " + buildingLaundryCode + "\nPhone: " + buildingPhone + "\nMailing address: " + buildingAddress);
- </script></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement