Freecodecamp: Turn an Image into a Link

Created on 28 Jun 2016  ·  5Comments  ·  Source: freeCodeCamp/freeCodeCamp

Challenge Turn an Image into a Link has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<link href="" rel="stylesheet" type="text/css">
  .red-text {
    color: red;

  h2 {
    font-family: Lobster, Monospace;

  p {
    font-size: 16px;
    font-family: Monospace;

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;

  .smaller-image {
    width: 100px;

<h2 class="red-text">CatPhotoApp</h2>

<a href="#"><img src=""></a>

<p>Click here for <a href="#">cat photos</a>.</p>

<img class="smaller-image thick-green-border" src="">

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

first timers only help wanted

All 5 comments

Thanks for reporting @mikerubino4000 but your code is not correct, please consult Help Chat Room.

Thanks and Happy Coding!

The instructions aren't enough for this challenge. There should be a line of instruction before the tests. Something along the lines of "Place the existing image within a anchor element" would be better.

We might also want to consider changing the description of the first test so it doesn't replicate the instruction text.

Thanks @arun1595 I agree, a simple change would make the instruction a bit more clear.
The first text instruction is pretty okay though

First timers there you go

Add a line after this line:

Place the existing image element within an anchor element.

I can take care of this as my first contribution to an Open Source project.

@RyanWillDev Awesome, please checkout Guidelines for Contributing and reach out to the Contributors Chat room if you need any assistance.

Was this page helpful?
0 / 5 - 0 ratings