Spacing and ā€œtry for yourselfā€ | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Spacing and ā€œtry for yourselfā€

Hi everyone Total beginner here, sorry if these are super basic questions. 1) Whatā€™s up w the spacing? <html> <head> what is the reasoning for spacing it like above? Will the end result suffer if they arenā€™t spaced correctly. and 2) When Iā€™m learning and it says ā€œtry yourselfā€ am I supposed to copy the code or just run it? Thank you to anyone who takes the time to answer.

25th Apr 2019, 12:34 AM
Jordan
1 Resposta
+ 8
1. The indentations (or spacings as you call it) are not mandatory nor part of the syntax. They are considered a good practice for readability, but does not affect the rendering of a webpage. 2. If you tap on "Try it yourself", it will just bring you to Code Playground. Whatever practice or experiments on the provided code snippet you plan on doing there is entirely up to you.
25th Apr 2019, 12:45 AM
Hatsy Rei
Hatsy Rei - avatar