@oshudev
Posted
Hello there 👋. Good job on completing the challenge!
About your question, you can't use fill property if the svg
file is inside the img
tag. What you can do is copy and paste the svg code inside your html. Alternatively you can use filter
property to change the color. I found an article explaining how to do it, Swapping Fill Color on Image Tag SVGs (Using CSS Filters!).
I hope you find it useful! 😄
Happy coding!
Marked as helpful