Learn HTML by Building a Cat Photo App - Step 6

Tell us what’s happening:
Describe your issue in detail here.
h2 element should be below the main element’s opening tag and its opening tag should start 6 spaces over from the start of the line.

  **Your code so far**
                   <h2> Cat Photos </h2>
  <!-- TODO: Add link to cat photos -->
  <p> Click here to view more cat photos. </p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

1 Like

You only needed to add 2 spaces. h2 was automatically 4 spaces away from the start of the line because main (the line above it) was 4 spaces away. An easy way so see how many spaces are in front of a line is to highlight the space with your mouse and count the dots that appear.


gracias bro, excelente resolución y buen tip para saber los espacios puestos

1 Like

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