Challenge Link to External Pages with Anchor Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.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;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<a href="http://www.freecatphotoapp.com"> cat photos </a>
<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<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>
Removing the www. from your a element will pass your solution.
Good catch @KonSal! Should we update the tests to optionally allow www.?
In the assignment they give us the example of http://freecatphotoapp.com. I don't know why someone will put www on it's own when it's not needed or even mentioned.
Wouldn't that be somewhat of an inconsistency, given that in the following challenge www is being used.
Yes, we should allow www. to be acceptable in this challenge as well as in the next if its not the case.
@KonSal I agree in the next challenge we should remove the www (for consistency) from the seed (editor) code.
Any one up for fixing these?
@BerkeleyTrue you might want to enable Cloudflare SSL on this domain as well
@raisedadead I could do it when I get back home. Seems suitable for a first timer like me to make his first commit.
@KonSal AWESOME! Looking forward to it.
Here is the contributing guide:
Guidelines for Contributing.
And here are some first timer goodies:
https://github.com/FreeCodeCamp/FreeCodeCamp/blob/staging/seed/challenges/01-front-end-development-certification/html5-and-css.json#L1533
Please hit us up if you need any assistance here:
Contributors Chat room.
Most helpful comment
@raisedadead I could do it when I get back home. Seems suitable for a first timer like me to make his first commit.