Product Landing page URL image bypass hack?

Hi Team,

Instructions never clarified that the header-img src had to be an URL, up until running the test:

2. I can see an image within the #header element with a corresponding id=“header-img”. A company logo would make a good image here.

The src attribute’s value should be a url (http…) : expected

I already modeled the page with a custom image, and only this task is pending. Is there a way I can trick the test to bypass url, or allow src to be a local file as well?

it can’t be a local file (in your machine), as when you would then host the image online the image couldn’t load

if you have an image inside your online hosted project, just ignore the test (with the caveat that if it ever start automated testing, this project would suddenly fail - host the image somewhere else? like your github account or something?)

1 Like

I put it in github and the test passed, but now no image is displayed:

https://github.com/thecircleoflifefree/General/blob/master/guitartransparent.png

You need the raw version of the file, check out the post below.

1 Like