- To provide a 'platform-independent', personal portal through which I can share:
- my works, including but not limited to: 1. slides, 1. articles, 1. posts, 1. event invitations.
- my rationale for the work I do,
- connection details,
- how I can support people/vice-versa.
- To learn and enjoy what's possible with modern web-design.
- mobile first
- all other devices a close second
- as in, check development with a phone. When happy, look at a larger screen.
- simple
- 'less is more'
- 'it's perfect when nothing more can be taken away'
- progressive disclosure
- accessible
- add alt-text to images
- don't otherwise mess up screen-readers
- big/clear enough navigation
- allow phone-users to navigate without strain injuries
- don't use prohibitive technologies (i.e. >90% web user browser support.)
- no jumping
- all content loaded in index.html, pages shown with checkbox hack/radio-buttons
- placeholders for loading images
- measures for desktop scrollbar width
- consistent element placement
- pre-fetching/loading/rendering if necessary
install node http-server
$
npm install -g http-server
serve without caching
$
cd /path/to/baseDirectory
http-server -c-1 -p 8080
Using Dev Tools console
>>
$$('*').map((A,B)=>A.style.outline=`1px solid hsl(${B*B},99%,50%`)
- html validator: https://validator.w3.org
- on spacing: https://hackernoon.com/margin-or-padding-f5252562313
- web accessibility in mind: https://webaim.org/intro/
- nice use of gradients in buttons: http://cssdeck.com/labs/push-the-buttons
- on avoiding broken links: https://4042302.org
- a complex selector: https://hackernoon.com/margin-or-padding-f5252562313
- amazing flex-box interactive: https://yoksel.github.io/flex-cheatsheet/
- normalize css: https://necolas.github.io/normalize.css/
- on css writing styles, BEM+ http://getbem.com/introduction/
- Performance freaking: https://varvy.com/pagespeed/wicked-fast.html
- js-free table filtering https://nddt-webdevelopment.de/html-css/filter-html-table-without-javascript-just-css
- modern font-stacks https://systemfontstack.com/
- web almanac https://almanac.httparchive.org/en/2020/
- butterick's practical Typography https://practicaltypography.com/
- devdocs reference https://devdocs.io
-
Aral Balkan's website: https://ar.al/
-
Zaarly's handbook: http://handbook.zaarly.com/#introduction
-
Edward Platt's website: https://elplatt.com/
-
Toon Claes's website: https://iotcl.com/
-
Matt Boldt's website: https://mattboldt.com
-
Max's website: https://maxlath.eu/
-
Wolfi's website: https://wolfi.space/
-
Chandi's website: https://chandi.it/
-
John Otander's site: http://johnotander.com/writing/
-
Liz Denys's website: https://lizdenys.com
-
William Casarin's website: https://jb55.com/
-
Joey Hess's Website: http://joeyh.name/
-
Grant Ford's website: https://poetgrant.press/
-
Douglas Blank's site: https://cs.brynmawr.edu/~dblank/
-
Wu-lee, metalsmith example: https://git.coop/wu-lee/metalsmith-ssg/tree/master
-
Glen Weyls (Quadratic voting guy) http://glenweyl.com
- Use external stylesheets
- Don't use inline styling
- Don't use internal styling
- Style using classes
- Don't style tags ('elements')
- Don't style IDs
- Don't use
!important
- Mobile first
- Be BEMy http://getbem.com/
- Block independent entity .block
- Element dependent entity .block__element
- Modifier entity modifier .block--modifier
- use modifier for external geometry (i.e. margin) to reuse blocks anywhere!
- Margins collapse vertically
- Borders and padding don't.
- 'max-width' shrinks, 'width' adds scrollbar
- "Percent is a measurement unit relative to the containing block."
- Initial setting for
display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: flex-start;
- align-content: stretch;
- http://learnlayout.com
- http://paulcpederson.com/articles/css-for-people-who-hate-css/
- "Classes for styles, tags for semantics, IDs for references." https://codeburst.io/how-to-write-css-when-you-hate-css-feb5a235b7f1
- border-bottom: 0.1rem solid darkslategray; /* Possibly nicer way to style hyperlink underlines
- can I use 'css-variables' natively with support? (e.g.
navbar-height
) - global selector: * vs html vs body