Ezra
July 7, 2022, 2:04pm
1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href= 'somelink.com'cat photos</a>.</p>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Challenge: Step 6
Link to the challenge:
Griff
July 7, 2022, 2:07pm
2
Hi!
First, why have you added this part? The lesson does not ask for it and your code will not pass with it added.
<p>Click here to view more <a href= 'somelink.com'cat photos</a>.</p>
Second, this is indented code. It just means that elements inside other elements, known as ‘children’ are two spaces from the left. The elements containing them are known as ‘parents’.
<main>
<h1>Hello</h1>
<p>I am a paragraph</p>
<main>
Ezra
July 7, 2022, 2:09pm
3
oh ok that makes sense. Also i only added that line because someone told me i must do it when i first asked about this.
1 Like
Griff
July 7, 2022, 2:11pm
4
I guess they mixed this up for another lesson, and didn’t check the lesson via what the forum automatically linked?
Either way, you don’t need to make a link at this stage.
Ezra
July 7, 2022, 2:11pm
5
also thank u so much because i was stuck on this for a good hour. so im very happy that it worked :3
1 Like
Griff
July 7, 2022, 2:12pm
6
No problem!
If you are stuck on coding lessons, I advise checking out the w3schools website and Mozilla too.
It’s great to ask for help, but also good to do your own research when stuck.
system
Closed
January 6, 2023, 2:13am
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.