i tried to apply <canvas id="fire"> but there was no output . plz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

i tried to apply <canvas id="fire"> but there was no output . plz help

html

18th Oct 2017, 3:48 PM
kartik gore
kartik gore - avatar
5 Answers
+ 12
show us your code, If you only assign an Id to canvas nothing will visually happen...
18th Oct 2017, 3:50 PM
Kamil
Kamil - avatar
2nd Nov 2017, 8:36 AM
niteOwLTwO
niteOwLTwO - avatar
+ 6
Share a link to a CodePlayground code, please?
18th Oct 2017, 3:58 PM
Kirk Schafer
Kirk Schafer - avatar
+ 5
I have written only in html
18th Oct 2017, 3:53 PM
kartik gore
kartik gore - avatar
+ 5
you have to define width,height properties
28th Oct 2017, 10:55 AM
Adem AKKUŞ
Adem AKKUŞ - avatar