Tribute Page - Build a Tribute Page

**Hello guys! I am currently doing the"Build a tribute" task. Can please someone help me understand why the image I want to use doesn’t appear on my screen. Thank you!

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="styles.css">
<div id="main">
<h1 id="title">Cristiano Ronaldo</h1>
<div id="img-div">
 <img id="image" src="" alt="Picture of Cristiano Ronaldo">
/* file: styles.css */
body {
  background-color: black;
  color: white;
  font-family: calibri;
img {
  width: 20%;
  height: 20%

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/106.0.1370.47

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

it doesn’t appear because it is not an image link
(just copy the path to your browser and you can see that no image is shown)

Hi! Welcome to the forum!

You need a link with .jpg, .jpeg or .png at the end in the src. This means it is an image file and the image will show up.

Also, this is unrelated to your question, but check your css. You are missing an important piece of coding punctuation. :slight_smile:

img {
  width: 20%;
  height: 20%

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.