+ 14
When put 2 lines it only draw 1 circle , but works only in two different svg tags, why?
<circle cx="80" cy="80" r="50" fill="green" /> <circle cx="100" cy="100" r="50" fill="red" />
2 Antworten
+ 2
I think you must be using both the circles in one <svg> tag. That must be causing the error. Just try to use one <svg> tag for one circle and for another cicle use another svg tag. But even of you add both circkes in one svg tag, it still works. Check this Code:-
https://code.sololearn.com/Wlv2rPfF5gi8/?ref=app