Tell us what’s happening:
Describe your issue in detail here.
I would like to review specifically the numbered exercises related to this issue which I have solved before in the exercises and projects.
Can anyone help me with that?
Thanks!
The console states:
// running tests Your
img
element should have a
display
of
block
. Your
#image
should have a
max-width
of
100%
. Your
#image
should be centered within its parent. // tests completed
Your code so far
<!-- file: index.html -->
<!--add from DOCTYPE to full head-->
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<head></head>
<body>
<h1 id="title">Página de tributo a kike</h1>
<main id="main">
<figure id="img-div">
<img id="image"> </img>
<figcaption id="img-caption">foto de kike</figcaption>
</figure>
<p id="tribute-info">kike ha sido desde siempre, la persona que me inspira a ser curioso, a aprender nuevas cosas, a ser compasivo entre otras cosas.</p>
<a id="tribute-link" href="" target="_blank">más información aquí</a>
</main>
</body>
<footer></footer>
</html>
/* file: styles.css */
#image {
max-width: 100%;
height: auto;
align: center;
}
img {
display: block;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Challenge: Tribute Page - Build a Tribute Page
Link to the challenge: