@DezzaAnnePeregrina
Posted
Hey there! Congratulations on completing your Result Summary Component!
I have a suggestion for you. Instead of using the <img>
tag to display icons for verbal, reaction, memory, and visuals, it would be beneficial to directly copy the SVG code.
To do this, navigate to the svg file in your assets > img folder, click on it to open the file, and then copy the SVG code. Next, paste this code in the appropriate location where you currently have the <img>
tag, replacing it completely.
I hope this suggestion helps you, and happy coding! ☺️🙌🏻
@bcrave
Posted
@DezzaAnnePeregrina, great suggestion! What are some of the advantages of doing it this way? Does it have to do with having fewer images to import from the assets folder? I suppose it would greatly decrease the number of HTTP requests made. Any other reasons?