Ilmastoveivi 2019

60 210

HTML5 Boilerplate homepage | Documentation table of contents

Frequently asked questions


Why is the Google Analytics code at the bottom? Google recommends it be placed in the <head>.

The main advantage of placing it in the <head> is that you will track the user’s pageview even if they leave the page before it has been fully loaded.

Here’s a handy quote from Mathias Bynens about our placement choice.

I should point out that it’s Google — not me — recommending to place this script before all other scripts in the document. The only real advantage is to catch a pageView call if your page fails to load completely (for example, if the user aborts loading, or quickly closes the page, etc.). Personally, I wouldn’t count that as a page view, so I actually prefer to place this script at the bottom, after all other scripts. This keeps all the scripts together and reinforces that scripts at the bottom are the right move. (Usually I concatenate and minify all my scripts into one .js file — the GA snippet being the suffix.)

How can I integrate Bootstrap with HTML5 Boilerplate?

Here’s Nicolas Gallagher writing about how HTML5 Boilerplate and Bootstrap complement each other.

Do I need to upgrade my site each time a new version of HTML5 Boilerplate is released?

No, same as you don’t normally replace the foundation of a house once it was built. However, there is nothing stopping you from trying to work in the latest changes, but you’ll have to assess the costs/benefits of doing so.

Where can I get help with support questions?

Please ask for help on StackOverflow.

1

2

3

Blogi

Lapset ja nuoret ovat edelleen yksin, viimeisin lakko sen taas osoitti.

10.10.2019

Ilmastoveivi2019. Nollasta sataan muutamassa kuukaudessa. Tavalliset skidit ja jangsterit selvittivät, mitä ilmastonmuutokselle pitää tehdä EU-tasolla, miten se pitää tehdä, mistä pitää nyt ihan oikeasti alkaa puhumaan, ehdotti miten toimitaan, sai sille tuen ympäri kansaa ja maata, vei asiansa läpi korkeimpaan maata johtavaan paperiin, ojensi kätensä: kattokaa, me tehtiin absoluuttisesti kaikki mitä voitiin.

Vetoomus vai lihattomuus?

31.05.2019

Ilmastokeskustelussa käydään usein debatteja siitä, tulisiko meidän keskittyä poliittisiin toimiin vai henkilökohtaisiin ilmastotekoihin. Onneksi meidän ei tarvitse valita vain toista, sillä molempia lähestymistapoja tarvitaan, ja ne tukevat toisiaan.