Welcome to the Treehouse Community
Looking to learn something new?
eslam saidCourses Plus Student 6,734 Points
I made some icons for my navigation but the svg code looks really long and not organized, i know i can use font-awesome but they don't have the exact icons i want,
so should i just stick with font-awesome or there is away to organize svg code since its very long or should i just use normal images for navigation icons ?
Robert Schaap19,836 Points
Sounds like you're trying to put the SVG code directly into your HTML page? You can also just link to your SVG with a normal IMG-tag like
<img src="myicon.svg"> or embed it in a few other ways:
Depends what you're trying to do. If you're just using them as images, the IMG tag is fine. If you want to start looking into animating parts of your SVG, then the object tag as per the stack overflow thread is pretty useful.