On my challenge 6 it says I should add 6 spaces from the top, I did all I could but it’s still not working.
**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 cat photos.</p>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1
i found the solution from another comment.
here it is ‘’ I would recommend you to click Restart Step and add two spaces for the h2, comment and the p OR select the h2, comment and p and press the tab key once.
About adding spaces, here’s what I have been doing, I put the cursor just before the opening tag and pushed the enter button twice, is that it or I have been doing the wrong thing?
You have been doing it correct. With this lesson the hint has been confusing a lot of people. What the hint is trying to say is from the start of the line the elements should be indented a total of 6 spaces.
I suggest you click Restart Step and either individually indent h2, comment, and p two spaces using the spacebar OR as @aspirine quoted, you can also use the tab key which on freeCodeCamp will apply a two space indent for each press of the tab key. the goal is to have it look something like this:
In the future please provide your code by wrapping it using three backticks (```) instead of taking a picture of your screen. However, you are close! you just need to indent the h2 element from the looks of it.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
See this post to find the backtick on your keyboard. Note: Backticks (`) are not single quotes (’).
You have to make sure the h2, the comment and p are exactly six spaces from the start of the line. I would recommend you to click Restart Step and add two spaces for the h2, comment and the p OR select the h2, comment and p and press the tab key once.
please guys i’ve got another issue on step 12, replacing the texts in the paragraph with an anchor tag, cat photos is to be the link in the sentence did it the best way i could but it’s not working still.
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more<a href="https://freecatphotoapp.com"> cat photos.</a>
</p>
<p>cat photos</p>