I don't know what I did wrong on 10/15


Did you wrap the image element with an anchor tag?

<a href= "https://en.wikipedia.org/wiki/Brown_bear" target = "_blank"> <img src = "https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt= "A Brown Bear"/> </a>


There's nothing really wrong with this code, but the SCT (Submission Correctness Test) requires that you use XML Syntax for image and link tags, so it should work like so:

<a href="https://en.wikipedia.org/wiki/Brown_bear" target ="_blank"> <img src = "https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" alt= "A Brown Bear" /></a>

XML Syntax is literally just a space between r" and /> in this case. Nothing wrong with the code, just the test. Use the code above and it should work :stuck_out_tongue:


gracias men... esta parte no lo entendía porque esta traducida del ingles a español.... y ,mas o menos entiendo la oración que lo traducen.


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