Local storage help on weather app

I have my code here and want to add a trashcan icon next to every fav city that comes up in the dropdown menu in case you want to remove it. How?

<i class="fas fa-trash-alt"></i>

This one. I also want to click on the favorite city and have it display. Feeling super pressured right now because it’s due tomorrow and I still need to write tests in chai and mocha.

When I reload the page, it also takes it out of the dropdown menu, but the cities are still in local storage.

The above code you posted does not give me the icons?

I’m so pissed at this point I can’t even think straight. Any time I add a city to the local storage dropdown menu and refresh the page, they disappear even though they are in the local storage. How in the hell do I fix this and how do I set it to where if you click “Add city”, it won’t add a string or city that is already in there?

I’m very very frustrated right now, I’ve kind’ve given up.

Please someone help me. I’m so frustrated my face is numb.