Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<body>
<canvas id="myCanvas" width=500 height=300>Your browser does not support the canvas tag.</canvas>
<script type="text/javascript">
    var canvas=document.getElementById('myCanvas');
    var context=canvas.getContext('2d');
    context.font = "60pt Calibri";
    context.lineWidth = 3;
    context.strokeStyle = "blue";
    context.strokeText("Hello World!", 10, 100);
    context.fillStyle = "red";
    context.fillText("Hello World!", 10, 100);
    context.strokeStyle = "blue";
    context.strokeText("Hello World!", 10, 100);
</script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers