+ 3

Why the svg isn't showing up?

What's the problem? https://code.sololearn.com/WOH5Lbf6Jqud/?ref=app

19th Aug 2018, 6:45 AM
Yash
Yash - avatar
10 Answers
+ 6
The thing is, copy and pasting <svg height="210" width="500"> to replace the original line fixes the code, the SVG displays well, but editing the height and width in the original code does not work. There are probably invisible or invalid characters in the original code. I totally did not waste an hour looking at two similar codes producing different results. >.>
19th Aug 2018, 7:56 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
As it is now, replacing the svg tag with: <svg height="210" width="500"> Fixes the issue.
19th Aug 2018, 7:53 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
It works just fine.
19th Aug 2018, 7:08 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
19th Aug 2018, 7:05 AM
Yash
Yash - avatar
+ 2
Meet Mehta see now
19th Aug 2018, 7:07 AM
Yash
Yash - avatar
+ 2
Hatsy Rei it doesn't show up for me
19th Aug 2018, 7:10 AM
Yash
Yash - avatar
+ 2
Meet Mehta earlier i added other code
19th Aug 2018, 7:39 AM
Yash
Yash - avatar
+ 2
Hatsy Rei :) works
19th Aug 2018, 7:57 AM
Yash
Yash - avatar
+ 1
Code is running fine.
19th Aug 2018, 7:03 AM
Meet Mehta
Meet Mehta - avatar
+ 1
It was working before. But after you updated , svg is not being shown.
19th Aug 2018, 7:34 AM
Meet Mehta
Meet Mehta - avatar