+ 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.
1 Antwort
+ 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.