hackergarten/hackergarten.github.io

Fix 404 error for the background header image

Closed this issue · 2 comments

The current implementation to randomly select the background image works but the browser initially tries to find an image for the function name provided. See screenshot:
image

It's because the angular Framework is loaded at the bottom of the page.

  1. Browser detects CSS
  2. Browser detects HTML <-- The error is here
  3. Browser detects Angular <-- Here it's fixed

It could be fixed, if the implementation of angular is in the header, but I wouldn't recommend it.

I think it's not really worth to spend time with this; the user experience is not negatively affected, right?