+ 10

What is wrong with the code that it is not displaying a sun with an elliptical mercury orbit?

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

10th Apr 2017, 8:21 AM
Siddharth
Siddharth - avatar
2 odpowiedzi
+ 2
Increase svg width and height
10th Apr 2017, 8:45 AM
Calviղ
Calviղ - avatar
+ 1
You set the width and the height of your svg both to 50 px. With the width and the height you set your drawing area, so you want it make it bigger, as big as you need it to be. You also may want the svg having a background color to see the area: style="background-color:blue" for example
10th Apr 2017, 8:43 AM
lulugo
lulugo - avatar