Hi Shalash,
I've gone through your solution and regarding your question the I would recommend you try using <picture>
html element for the SVG.
https://www.w3schools.com/tags/tag_picture.asp
Here's a link to my solution: https://saga-sanga.github.io/advice-generator/
Marked as helpful
@shalash23
Posted
@Saga-sanga That is an extremely helpful tip. Thank you :)