Christian Landrum2,401 Points
Set the <img> element question, i cant find the right answer
I've tried everything i can think of and i still cant find the right answer
<!DOCTYPE html> <html> <head> <title>Portfolio Page</title> </head> <body> <img src="../logo.png#img" alt="Site logo"> <ul> <li><a href="">Home</a></li> <li><a href="">Portfolio</a></li> </ul> <h1 id="portfolio">My Portfolio</h1> </body> </html>
Brandyn Lordi15,402 Points
here is the solution:
"../" Will take you up one level.
once there, enter the
"img" folder, and then point to your file.
the end results is:
<img src="../img/logo.png" alt="Site logo">
cabbage one6,589 Points
In order to to up one level you have to use ../. once you are out and up you want to direct it to the right folder, which is in this case img. so the answer is : ''<img src="../img/logo.png" alt="Site logo">''
keep up the good work.