Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</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/106.0.0.0 Safari/537.36 Edg/106.0.1370.42

Challenge: Learn HTML by Building a Cat Photo App - Step 6

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

Please how do I make the space there between the

I didn’t understand the assignment on that part please help me out

They want you to learn how to make your code look neat.

To make your code look neat you have to learn about indentation.

An example of code that is not neat is:


<html>
<body>
  <main>
  <h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
 <p>Click here to view more cat photos.</p>  
  </main>
</body>
</html>

Notice how messy that is?

Indentation is when we add spaces on the left hand side of each line to align the code in a way that is meaningful.

For eg this is a meaningful indentation:

<body>
  <p>this is indented two spaces exactly</p>
</body>

The reason I indented the paragraph inside the body is to show the reader that I have made a purposeful choice to place the paragraph element as a “child” of the body (or to be inside it)

In this exercise you are shown some neatly indented code EXCEPT for one line.
The paragraph line needs two spaces more on the left to be in the proper spot.

So please add those two spaces to indent it like the other lines.

Please I’m really sorry i still didn’t get where to put the two space I’m so sorry I’m confused I’ve read your text all over and over again and I’ve tired what I thought might be best but it’s still incorrect or should I send an image so you could show it to me or if you have a directing video

(post deleted by author)

Please don’t post a picture of your computer. Post your actual code.

You need to use the space bar to put two more spaces before the p element.

I’ve gotten it please thanks a lot it was just two space behind the

just for it to be in order

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.