Correct solution fails without correct boilerplate HTML - Nest an Anchor Challenge
See original GitHub issueChallenge Nest an Anchor Element within a Paragraph has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 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>
<p>View More <a href= "http://www.freecatphotoapp.com"> cat photos</a></p>
<img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Latest topics - The freeCodeCamp Forum
Nest the existing a element within a new p element. Do not create a new anchor tag. The new paragraph should have text...
Read more >Transition Guide: From Styles to Workbench - The Carpentries
The challenge and solution blocks in the workbench are nested pairs of blocks with an optional Level 3 header. You can additonally add...
Read more >W3 Validation error, nested tags in an anchor tag
One possible cause for this message is that you have attempted to put a block-level element (such as " <p> " or "...
Read more >CS110: All Readings - Computer Science - Wellesley College
This page contains all the at-home reading material for CS 110, not including the textbooks and such. Feel free to search this if...
Read more >4 The elements of HTML | HTML 5.1 - W3C
The value must be appropriate for use in a directory of pages, e.g. in a search engine. There must not be more than...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi @no-stack-dub-sack, first-timer here! If its okay with you i’d like to take on this issue 😃 💯
@infinityl00p Great! Let me check it out