Please how do i draw multiple circles with svg in html | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

Please how do i draw multiple circles with svg in html

13th Mar 2019, 3:57 PM
👑Dave
👑Dave - avatar
5 Antworten
+ 3
Assuming you have this code for drowning your circle <svg height="100" width="100">  ****<circle cx="50" cy="50" r="40" />**** </svg> try to duplicate the circle tag but with another cx and cy value. The cx and cy attributes define the x and y coordinates of the center of the circle in the entire html page.
13th Mar 2019, 4:15 PM
yossef Dawoad
yossef Dawoad - avatar
+ 2
Thanks
13th Mar 2019, 4:21 PM
👑Dave
👑Dave - avatar
+ 1
Though it worked but it didnt show side by side
14th Mar 2019, 12:31 PM
👑Dave
👑Dave - avatar
0
You are welcome, i hope that was helpful for you😄😃
13th Mar 2019, 4:22 PM
yossef Dawoad
yossef Dawoad - avatar
0
Make sure your svg tag has a bigger width and till me if it work or not,if it doesn't work send me your code
14th Mar 2019, 12:50 PM
yossef Dawoad
yossef Dawoad - avatar