I am fairly new to working with html and am currently experimenting with octicons. Following a tutorial I found on YouTube, I downloaded version 10.1.10 of octicons from GitHub and placed them in the main app folder in vs code.
To test it out, I opened one of the icons (a briefcase icon) in VS code and copied the path that appeared in the IDE. I then pasted this path into a span element as shown below:
<div class = "input-group">
<span class = "input-group-addon"><span class = "<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill-rule="evenodd"
d="M7.5 1.75C7.5.784 8.284 0 9.25 0h5.5c.966 0 1.75.784 1.75 1.75V4h4.75c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0121.25 22H2.75A1.75 1.75 0 011 20.25V5.75C1 4.784 1.784 4 2.75 4H7.5V1.75zm-5 10.24v8.26c0 .138.112.25.25.25h18.5a.25.25 0 00.25-.25v-8.26A4.233 4.233 0 0118.75 13H5.25a... Icon </svg>"></span></span>
<input type = "text" class = "form-control" name = "first name" placeholder="First Name">
</div>
However, when I run this code, instead of showing the briefcase icon, it displays "> next to the First Name input field. I'm not sure what I did wrong since it seemed to work for the person in the YouTube video. It could be an issue with where I saved the file or there might be a problem with the process itself - I can't quite figure it out.
If it helps, I am using Mac OS. Any suggestions or guidance would be greatly appreciated!