+ 1

Why the second eye does not exist?

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

16th Feb 2018, 1:08 PM
GOļ¼
GOļ¼ - avatar
4 Answers
+ 13
Reduce the sizes of SVGs, it's outside of the screen...
16th Feb 2018, 1:13 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
I've explained it inside the code so please read all the comments in it(the grey stuff) https://code.sololearn.com/WPSRmWXPNRU7/?ref=app
16th Feb 2018, 1:42 PM
Code Ninja
Code Ninja - avatar
+ 3
but why are you using 2 seperate svg's??šŸ¤” when you can draw multiple shapes in single <svg> tag like <svg blah_blah = daba_daba_doo > eye1 eye2 </svg>
16th Feb 2018, 1:46 PM
Code Ninja
Code Ninja - avatar
+ 1
<svg width="200" height="200"> <circle cx="80" cy="80" r="50" fill="none" stroke="black" /> <circle cx="80" cy="80" r="25" fill="red" /> <circle cx="80" cy="80" r="10" fill="black" /> <circle cx="90" cy="70" r="5" fill="white" /> </svg> <svg width="400" height="200"> <circle cx="200" cy="80" r="50" fill="none" stroke="black"/> <circle cx="200" cy="80" r="25" fill="red"/> <circle cx="200" cy="80" r="10" fill="black"/> <circle cx="90" cy="70" r="5" fill="white"/> </svg>
16th Feb 2018, 1:20 PM
ihateonions