Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:
How to add space before the h2 element and paragraph

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    
  <h2>&nbsp&nbspCat Photos</h2>
  <!--   TODO: Add link to cat photos -->
  <p> &nbsp&nbspClick 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/103.0.0.0 Safari/537.36

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

Link to the challenge:

Thank for the response how to add space

set caret at the beginning of the line and hit the spacebar two times.( the same for the other two lines.)

1 Like

Thanks for the response actually enter also works

Important to know is: an element starts with the opening tag. In front of element will therefor be before the opening-tag.