This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Make a Website: HTML Forum

View Course » View Exercise

24 points
388ea85cf33852d282c35feed72dca6f?s=140&d=retro
Submitted by
jroberts1
almost 3 years ago

[resolved] Are the sample indentations in code necessary for some reason?

The layout of the code in the samples is different than mine. Lines of code are indented in different ways. Does that matter?

Thanks.


0 votes

permalink

In order to make it easier for you and anyone reading your code to see what you are building and find mistakes, all that is necessary is that matching open/close tags are aligned by indenting them by the same amount.

The code will look the same when viewed by a browser no matter the indenting.

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago

2 Comments

388ea85cf33852d282c35feed72dca6f?s=140&d=retro jroberts1 almost 3 years ago

Thanks for the answer.

55df2afa95e3787b9200005e_359368177 Judy almost 3 years ago

You're welcome.