My browser display nothing. I want to display rectangle and animation. Thanks you sir sololearn. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

My browser display nothing. I want to display rectangle and animation. Thanks you sir sololearn.

display rectangle and animation. https://code.sololearn.com/WhEDwevqPFs5/?ref=app

6th Aug 2021, 6:38 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 2
you are missing units in line 12 & 13 try this svg.style.width = "1000px"; svg.style.height = "250px";
6th Aug 2021, 7:59 AM
Prashanth Kumar
Prashanth Kumar - avatar