Ask coding questions

← Back to all posts
My image wont display
JacobMcPherson1 (237)

It's just giving me a 404 (not found error) in the console, Is there a way I can fix this?

Answered by OldWizard209 (1498) [earned 5 cycles]
View Answer
Comments
hotnewtop
OldWizard209 (1498)

You have to put the path of only src="images/gopher.svg", because your index.html is on the same hierarchical level as the images folder so you don't need to add the path of public.