+ 3

Svg error .

Hay friends . I was creating a code for clone using pure svg . And tries to add multiple images and svg elements. So recently I had added 3 elements but the problem is that only first element is shown in this code not all if I delete first one then second is showing not third . Similarly if I delete first two then only the 3rd is showing . Have a look after . The three elements which I am using here are in line 63,64,65. Just try to show them all on svg grid . https://code.sololearn.com/WXZ1VkAc9Wd9/?ref=app

20th May 2020, 4:21 AM
Ayush Kumar
Ayush Kumar - avatar
2 Réponses
+ 3
Close your image tags. <image /> Edit: That's confusing because HTML tags don't need the "/". According to Google search: "SVG is based on XML and needs the /> part" I always close my tags so it's the first time I face this issue. Glad to know.
20th May 2020, 5:56 AM
Kevin ★
+ 2
Thanks a lot Kevin Star -> Inactive bro . Me too knows today .
20th May 2020, 10:28 AM
Ayush Kumar
Ayush Kumar - avatar