These are chat archives for FreeCodeCamp/Help

21st
Feb 2019
kinopotato
@kinopotato
Feb 21 04:55
so spaghetti code is pretty much part of life, haha, I thought I had the worse code.
quick question though, I'm reading this from google's github
https://google.github.io/styleguide/htmlcssguide.html#General
and at 3.1.7 (optional tags) they're recommending to just omit html/head/body tags in certain cases and I find it weird that I need to go through this whole process of if this then omit that instead of just writing the three tags :| is there an actual detriment if you do not omit these?
Brad
@bradtaniguchi
Feb 21 05:29
Never heard of omitting the tags. I would leave them, idk how much of a performance improvement you can get if you don't include these, but idk about browsers that don't support html5, they might explode haha
but then idk if thats something to even care about these days
Kaz Baig
@kbaig
Feb 21 05:52
same
kinopotato
@kinopotato
Feb 21 06:03
yeah if you refer to the link you'll see that section, I thought it was strange as well so I had to ask
sudipt dabral
@sudipt1999
Feb 21 06:52
kinopotato
@kinopotato
Feb 21 09:12

Hello, question for people using vs code. is there an extension where for example I have auto close tags

<td></td> so my cursor is in between, is there an extension or something that will allow me to enter a new line without affecting the closing tag?

so instead of

<td>apple
</td><!-- because I entered-->

it goes

<td>banana</td>
my cursor is now here without having to press right key multiple times or end key, just enter
abraham anak agung
@padunk
Feb 21 09:24
@kinopotato i used auto complete tag by jun han. you can combine it with auto close tag and auto rename tag too.
kinopotato
@kinopotato
Feb 21 09:25
does it allow you to press enter and you will be on another line despite your cursor being in-between two tags?
abraham anak agung
@padunk
Feb 21 09:25
nope
kinopotato
@kinopotato
Feb 21 09:26
I was hoping for that one, so I wouldn't have to press END or right key then enter
Victor
@abeledovictor
Feb 21 10:25
I always found auto complete tags more annoying than helpful
Aditya Dehal
@aditya2000
Feb 21 10:38
Hey there have anyone used Hostinger for hosting?
I need a little help