+ 1

Whats Wrong in this Code Below . EXPLAIN

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

3rd Jun 2019, 5:52 AM
kabir
2 Answers
+ 1
You forgot to close the path with letter "Z". And, as you're drawing a line, you need to add stroke='black' to make it visible :) Use this: <path d="M12 15 L26 25 Z" stroke="black" /> Reference: https://www.w3schools.com/graphics/svg_path.asp
3rd Jun 2019, 6:17 AM
777
777 - avatar
0
ks Rocks you didn't added any style to the svg code so nothing comes as output do like this https://code.sololearn.com/W9PQsYEjWQYn/?ref=app have some 🍎 🍎 🍎 🍎
3rd Jun 2019, 6:17 AM
DishaAhuja
DishaAhuja - avatar