- 1

I want to display all elements : circle, rectangle and line. Now display only circle. Thanks you.

Display all elements : circle, rectangle and line. https://code.sololearn.com/WUGxg35AOixy/?ref=app

29th Jun 2021, 5:51 AM
Malick Diagne
Malick Diagne - avatar
1 Answer
+ 1
The svg elements you created are all there but they overlap each other, that's why you can't see the rectangle and line. You can set `display` property value to `block` for svg elements so they will be rendered one after another. Just so you can see all the drawings are there. Add in CSS section: svg { display: block; }
29th Jun 2021, 6:42 AM
Ipang