question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Correct solution fails without correct boilerplate HTML - Nest an Anchor Challenge

See original GitHub issue

Challenge 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:closed
  • Created 6 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
infinityl00pcommented, May 17, 2017

hi @no-stack-dub-sack, first-timer here! If its okay with you i’d like to take on this issue 😃 💯

1reaction
no-stack-dub-sackcommented, May 17, 2017

@infinityl00p Great! Let me check it out

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found