Responsive Web Design Projects - Build a Tribute Page

Tell us what’s happening:
Describe your issue in detail here.
I wasn’t able to do this ( Your #image should be centered within its parent.) please help me.

  **Your code so far**
/* file: index.html */
<link rel="stylesheet" href="styles.css">
  background-color: black;
  color: white;
  font-family: calibri;


<main id="main">
<h1 id="title">Asus ROG 6</h1>
<div id="img-div">
<a id="tribute-link" target="_blank" href="">
<img id="image"src="" alt="gaming phone"
width="70%" height="40%">
<figcaption id="img-caption">Esports. Asus ROG has been an active advocate for esports, having established some of their very own professional gaming teams.</figcaption>
<p id="tribute-info">
<b>Best Asus Rog phone:</b>
  <li>ASUS ROG Phone 2</li>
  <li>Asus ROG Phone 3 12GB RAM</li>
  <li>Asus ROG Phone 5s Pro 5G</li>
  <li>Asus ROG Phone 5 Pro</li>

/* file: styles.css */
width: 400px;
max-width: 100%;
height: auto;
display: block;
  **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

Challenge: Responsive Web Design Projects - Build a Tribute Page

Link to the challenge:

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