Why cant i make a rectangle after a circle with repeating svg tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why cant i make a rectangle after a circle with repeating svg tag?

https://code.sololearn.com/WuqeB9NdQg91/?ref=app

22nd May 2018, 2:05 PM
Sadi Uchiha
Sadi Uchiha - avatar
5 Answers
+ 1
Try getting rid of all of the <br> tags, that seems to be the only way that it works
22nd May 2018, 2:27 PM
Faisal
Faisal - avatar
+ 1
When it come to SVG, all you would need to do is add one SVG tag with any of your shapes within that one section. This gets rid of the need to add several SVG tags and makes your code a little simpler. For your code to work, all you would need to do is delete the closing SVG tag for the first pair, the opening SVG tag for the second pair, and the <br> tags in between.
22nd May 2018, 2:20 PM
Faisal
Faisal - avatar
+ 1
https://code.sololearn.com/WuqeB9NdQg91/?ref=app i have changed it the result is the same :/
22nd May 2018, 2:26 PM
Sadi Uchiha
Sadi Uchiha - avatar
+ 1
yes it worked that way.... i guess i should chamge the coordinate of the rectangle
22nd May 2018, 2:30 PM
Sadi Uchiha
Sadi Uchiha - avatar
+ 1
Sadi Uchiha Yeah, that seems to be the best way to get around it 👍
22nd May 2018, 2:33 PM
Faisal
Faisal - avatar