Describe your issue in detail here.
I don’t know why my image won’t edit in freeCodeCamp, but it will in replit. Is there anything I can do to fix this for the Tribute Page?
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/style.css">
</head>
<body>
<main id="main">
<h1 id="title">Steve Jobs</h1>
<h3>The Man who Created a Revolutionary Company Called Apple and invented a new perspective towards hand-held tech.</h3>
<div id="img-div">
<img id="image" src="https://live.staticflickr.com/6220/6216457030_2cf0aff09d_z.jpg">
<div id="img-caption">This is the man, Steve Jobs.</div>
</div>
<div id="tribute-info">Steve Jobs, (born February 24, 1955, San Francisco, California, U.S.—died October 5, 2011, Palo Alto, California), cofounder of Apple Computer, Inc. (now Apple Inc.), and a charismatic pioneer of the personal computer era.
<a id="tribute-link" href="https://www.britannica.com/biography/Steve-Jobs" target="_blank">Learn more</a>
</div>
</main>
</body>
</html>
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
Yep! I was able to pass the step. I did a little debugging by comparing it to my prior projects and finally figured it out:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Steve Jobs</title>
<link rel="stylesheet" href="styles.css">
<body>
<main id="main">
<h1 id="title">Steve Jobs</h1>
<h3>The Man who Created a Revolutionary Company Called Apple and invented a new perspective towards hand-held tech.</h3>
<div id="img-div">
<img id="image" src="https://live.staticflickr.com/6220/6216457030_2cf0aff09d_z.jpg">
<figcaption id="img-caption">This is the man, Steve Jobs.</div>
</div>
<div id="tribute-info">Steve Jobs, (born February 24, 1955, San Francisco, California, U.S.—died October 5, 2011, Palo Alto, California), cofounder of Apple Computer, Inc. (now Apple Inc.), and a charismatic pioneer of the personal computer era.
<a id="tribute-link" href="https://www.britannic target="_blank">Learn more</a>
</div>
</main>
</body>
</html>
body {
margin: 0;
font-family: Helvetica;
background: #f5f6f7;
}
#image{
display: block;
max-width: 100%;
height: auto;
}