'favicon.ico:1 GET http://127.0.0.1:8080/favicon.ico 404 (Not Found)

I'm going through a javascript tutorial right now and noticed that all of my HTML files are receiving this favicon.ico:1 GET http://127.0.0.1:8080/favicon.ico 404 (Not Found) error. I know that this has been answered before several times, but I can't get any of those selected solutions to work on my machine. If anyone can help me out, I would greatly appreciate it.

The line that I've come across a lot is

<link rel="shortcut icon" href="#">

And it's not working for me and any other variation of it. Do I have to make any other directories or do something I'm not thinking of?

Thank you all in advance.



Solution 1:[1]

You can solve this error in 2 ways

  1. You need to have your favicon in your project folder and you need to load the favicon.

  2. If you don't want to use favicon then you can use below line to remove that error link

    < link rel="icon" href="data:;base64,=">

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RajuPedda