I do not understand Exercise 13/15 of Learn HTML & CSS: Part I


#1


Learn HTML & CSS: Part I


#2

What don't you understand?


#3

The instruction in the exercise was to find the error in the index code given.But I couldn't find the error.I need help in finding the error.


#4

It's not strictly an error, as the code is syntactically correct.

The exercise is teaching you how it is a best practice to indent your code correctly to make it more readable and easier to maintain.

You should be looking at all the nested elements and ensuring they are all correctly indented.

The suggested indentation format is to use 2 spaces for nested elements, like so :

<parent>
  <child></child>
  <child></child>
  <child></child>
</parent>

#5

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