basic informatie over de weekly nerd presentatie:
imperative programming
- Create an array of items
- Loop through each item
How to behave like a button - with javascript - imparative
- Imperative > javascript > div acts like a button
- Declarative > html > button element
jeremy Keith said "javascript should only do what javascript can do"
if you invent from scratch you have total control.
met padding-inline-start is het padding-left, maar als je computer is ingesteld in
als je vanaf rechts naar links leest word het omgedraaid! - inclusief.
voor makkelijk responsive font size: font-size:calc(0.5rem + .666vw); of
Font-size:clamp(1rem,0.5rem +.666vw, 1.5rem);
Utopia.Fyi is een gemakkelijke website waar je goed
responsive design tips krijgt met @min en @max scaling het groeit nu heel soepel in
elkaar van mobiel naar groter scherm!!
Functies in css die handig kunnen zijn:
- Calc()
- clamp()
- min and max()
- fit-content()
- Min- max-content()
- repeat()
- minmax()