0

I can't understand canvas who can help me ?

<html> <head></head> <body> <canvas id="canvas1" width="400" height="300"></canvas> <script> var can = document.getElementById("canvas1"); var ctx = can.getContext("2d"); </script> </body> </html>

13th Jan 2019, 8:23 PM
hanen mdaghi
hanen mdaghi - avatar
6 Answers
13th Jan 2019, 9:12 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 3
hanen mdaghi what don't you understand about the canvas tag ?
13th Jan 2019, 8:41 PM
Dlite
Dlite - avatar
+ 3
Here's a little hint of what Canvas can be used for https://code.sololearn.com/WErnHmiWQofL/?ref=app
13th Jan 2019, 8:55 PM
Dlite
Dlite - avatar
+ 3
Read more about it here, perhaps you'll be able to do something much more cooler with </canvas> https://googleweblight.com/i?u=https://www.w3schools.com/html/html5_canvas.asp&hl=en-NG
13th Jan 2019, 9:05 PM
Dlite
Dlite - avatar
+ 1
I learned html5 and css ,so I have no idea about js that's why I can't understand all about canvas
13th Jan 2019, 8:49 PM
hanen mdaghi
hanen mdaghi - avatar
+ 1
Thanks đŸ€—đŸ˜
13th Jan 2019, 8:58 PM
hanen mdaghi
hanen mdaghi - avatar