Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the CSS

Preeti Thakur
Preeti Thakur
17,158 Points

I'm not able to make the image appear - can someone review my code?

Hi, can you tell me what is wrong with my code because I cannot see the image, I do not know how to put the screenshot in here so I can show you, thank you for all your answers before.:)

<!DOCTYPE html>
<html>
    <head>
        <title>Ioana Pruna's Resume</title>
        <link rel="stylesheet" href="resume.ioana.css">
    </head>
    <body>
        <img scr="https://placeimg.com/200/200/nature" alt="Ioana Pruna, Web Developer" class="main-image">
        <h1>Ioana Pruna, Web Developer</h1>
        <h2>Summary of Qulifications</h2>
        <ul>
            <li>Experience as a freelance web developer.</li>
            <li>Experience with HTML, CSS and JavaScript.</li>
            <li>No Bachelor, sorry!</li>
        </ul>
    </body>
</html>

Edit: formatting added :-)

1 Answer

Steven Parker
Steven Parker
231,271 Points

The image attribute for the URL is misspelled. It should be "src", but the code above has "scr" instead.

For future questions, take a look at this video about Posting a Question for info on how to include formatted code.

Preeti Thakur
Preeti Thakur
17,158 Points

Thank you so much for advice!