User:Kiara/Code: Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
<big>→ Nice tools to help you code</big> <br> | <big>→ Nice tools to help you code</big> <br> | ||
* General | * General | ||
** https://caniuse.com/ – Up to date browser support for CSS properties, HTML tags, etc. <br> | ** [https://caniuse.com/ Can I Use] – Up to date browser support for CSS properties, HTML tags, etc. <br> | ||
** https://bennettfeely.com/clippy/ – To crop images with CSS <code>clip-path</code> <br> | ** [https://bennettfeely.com/clippy/ Clippy] – To crop images with CSS <code>clip-path</code> <br> | ||
** https://validator.w3.org/nu/ – HTML checker, to see if your code is well written :) <br> | ** [https://validator.w3.org/nu/ HTML Validator] – HTML checker, to see if your code is well written :) <br> | ||
** https://outils-css.aliasdmc.fr/convertir-unites-de-longueurs-css.php#bloc-content | ** [https://outils-css.aliasdmc.fr/convertir-unites-de-longueurs-css.php#bloc-content Convertisseur d'unités (FR)] | ||
* About fonts and type | * About fonts and type | ||
Line 37: | Line 37: | ||
** [https://coolors.co/contrast-checker/c801ff-0e0e10 Coolors] – Contrast checker <br> | ** [https://coolors.co/contrast-checker/c801ff-0e0e10 Coolors] – Contrast checker <br> | ||
** [https://polypane.app/color-contrast/#fg=%23107db5&bg=%23fff&level=aa&format=rgb&algo=WCAG2&filter=none Polypane] – Contrast checker <br> | ** [https://polypane.app/color-contrast/#fg=%23107db5&bg=%23fff&level=aa&format=rgb&algo=WCAG2&filter=none Polypane] – Contrast checker <br> | ||
** [https://www.siegemedia.com/contrast-ratio Contrast ratio] <br> | ** [https://www.siegemedia.com/contrast-ratio Contrast ratio] – Contrast checker<br> | ||
** [https://www.oddcontrast.com/#p3__color(display-p3_0.0967_0.167_0.4494)__color(display-p3_0.951_0.675_0.7569) Odd contrast] – Contrast ratio checker <br> | ** [https://www.oddcontrast.com/#p3__color(display-p3_0.0967_0.167_0.4494)__color(display-p3_0.951_0.675_0.7569) Odd contrast] – Contrast ratio checker <br> | ||
** [https://colorhunt.co/ Color Hunt] – Colour palettes <br> | ** [https://colorhunt.co/ Color Hunt] – Colour palettes <br> | ||
Line 61: | Line 61: | ||
==== CSS ==== | ==== CSS ==== | ||
<big>→ Getting started</big> <br> | <big>→ Getting started</big> <br> | ||
[https://tonsky.me/blog/centering/ Centering things] <br> | |||
[https://bradfrost.com/blog/post/transparent-borders/ Transparent borders] <br> | |||
[https://www.joshwcomeau.com/css/interactive-guide-to-grid/ An interactive guide to CSS grids] <br> | |||
[https://piccalil.li/blog/a-more-modern-css-reset/ A more modern CSS reset] <br> | |||
[https://fullystacked.net/new-font-face-syntax/ <code>@font-face</code> rule] <br> | |||
[https://www.joshwcomeau.com/css/rules-of-margin-collapse/ The Rules of Margin Collapse] | |||
<big>→ Tools</big> <br> | <big>→ Tools</big> <br> | ||
Tool for creating proportional scales for typography, iconography, spacing, and components in design systems | [https://proportio.app/ Tool for creating proportional scales for typography, iconography, spacing, and components in design systems]<br> | ||
[https://colour-tool.qweb.co.uk/ Create colour palettes based one input colour] <br> | |||
[https://css-loaders.com/ CSS Loaders] <br> | |||
[https://css-shape.com/ Shapes translated into CSS] <br> | |||
[https://utopia.fyi/blog/clamp-calculator/ Help with responsive and scaling] <br> | |||
[https://www.stefanjudis.com/blog/fancy-svg-filters/ Fancy SVG filters] <br> | |||
[https://getbootstrap.com/docs/4.0/utilities/flex/ Flex layouts] <br> | |||
[https://codepen.io/cadars/pen/PoJGMNP Image slideshow] | |||
<big>→ CSS-print</big | <big>→ CSS-print</big> | ||
* paged.js | * paged.js | ||
** [https://pagedjs.org/about/ Website] <br> | ** [https://pagedjs.org/about/ Website] <br> | ||
** [https://gitlab.coko.foundation/pagedjs/pagedjs-templates/ukulele-demo Demo] <br> | ** [https://gitlab.coko.foundation/pagedjs/pagedjs-templates/ukulele-demo Demo] <br> | ||
** | ** <span style="color: #5F9EA0;">[https://sarahgarcin.com/workshops/coding-cooking/web2print.html Introduction à paged.js par Sarah Garcin (FR)]</span> <br> | ||
** | ** <span style="color: #5F9EA0;">[https://ateliers.esad-pyrenees.fr/web/pages/ressources/ctrl-alt-print/pagedjs/ Introduction à paged.js par Julien Bidoret (FR)]</span> <br> | ||
** | ** <span style="color: #5F9EA0;">[https://bookolab.coalitioncyborg.org/?utm_source=pocket_saves Bookolab (FR)]</span> <br> | ||
** | ** [https://gitlab.coko.foundation/pagedjs/pagedjs-plugins/booklet-imposition paged.js plugin: Booklet imposition] <br> | ||
** | ** [https://gitlab.com/pagedjs-plugins/full-page paged.js plugin: Full page elements] <br> | ||
** | ** [https://gitlab.com/nicolastaf/pagedjs-reload-in-place/-/blob/master/reload-in-place.js paged.js plugin: Reload in place] <br> | ||
** | ** [https://gitlab.coko.foundation/pagedjs/book-of-cook/-/blob/main/public/examples/map.html paged.js plugin: Add a map to your book] | ||
* Other layout tools | * Other layout tools | ||
Line 106: | Line 106: | ||
** [https://meyerweb.com/eric/thoughts/2023/09/12/nuclear-anchored-sidenotes/?utm_source=pocket_shared Nuclear Anchored Sidenotes] <br> | ** [https://meyerweb.com/eric/thoughts/2023/09/12/nuclear-anchored-sidenotes/?utm_source=pocket_shared Nuclear Anchored Sidenotes] <br> | ||
** [https://codeberg.org/da/text-balancer Text-balancer] <br> | ** [https://codeberg.org/da/text-balancer Text-balancer] <br> | ||
** [https://www.oxygenxml.com/doc/versions/24.1/ug-authorEclipse/topics/dg-target-counter-function.html | ** [https://www.oxygenxml.com/doc/versions/24.1/ug-authorEclipse/topics/dg-target-counter-function.html <code>target-counter()</code> for pagination]<br> | ||
** [https://github.com/mnater/Hyphenopoly Hyphenopoly] | ** [https://github.com/mnater/Hyphenopoly Hyphenopoly] | ||
Line 115: | Line 114: | ||
<big>→ Go further</big> <br> | <big>→ Go further</big> <br> | ||
[https://drafts.csswg.org/css-values-4/#viewport-relative-lengths CSS Values and Units] <br> | |||
[https://www.smashingmagazine.com/2024/01/css-border-image-property/ The CSS <code>border-image</code> property] <br> | |||
[https://www.smashingmagazine.com/2023/08/better-context-menus-safe-triangles/ Better context menus with safe triangles] <br> | |||
[https://frontendmasters.com/blog/drawing-a-line-to-connect-elements-with-css-anchor-positioning/ Lines to connect elements with CSS anchor positioning] <br> | |||
<code>where()</code> | <code>[https://helloanselm.com/writings/css-where-to-replace-complex-multi-selectors where()]</code> [https://helloanselm.com/writings/css-where-to-replace-complex-multi-selectors to replace complex multi-selectors] <br> | ||
[https://www.youtube.com/watch?v=cs37yx73b1o Video: A powerful CSS display property that no one talks about] <br> | |||
[https://www.youtube.com/watch?v=86nTToBm2uQ Video: Stop fighting with CSS positioning] <br> | |||
[https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule At-rules] <br> | |||
<span style="color: #5F9EA0;">[https://developer.mozilla.org/fr/docs/Web/CSS/At-rule At-rules (FR)]</span> <br> | |||
[https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_media_queries/Using_media_queries Media queries] <br> | |||
<code>@media</code> | <code>[https://developer.mozilla.org/en-US/docs/Web/CSS/@media/orientation @media]</code> [https://developer.mozilla.org/en-US/docs/Web/CSS/@media/orientation orientation] <br> | ||
<code>@media</code> | <code><span style="color: #5F9EA0;">[https://developer.mozilla.org/fr/docs/Web/CSS/@media/orientation @media]</span></code> <span style="color: #5F9EA0;">[https://developer.mozilla.org/fr/docs/Web/CSS/@media/orientation orientation (FR)]</span> <br> | ||
[https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_containment/Container_queries CSS container queries] <br> | |||
[https://css.oddbird.net/rwd/query/explainer/ CSS Container Query Proposal & Explainer] <br> | |||
[https://www.w3.org/TR/css-contain-3/#container-queries W3C Guide to container queries] <br> | |||
<span style="color: #5F9EA0;">[https://developer.mozilla.org/fr/docs/Web/CSS/CSS_media_queries/Using_media_queries Utiliser les media queries (FR)]</span> <br> | |||
[https://web.dev/blog/state-of-css-2022#container-queries State of CSS 2022] <br> | |||
<span style="color: #5F9EA0;">[https://web.dev/blog/align-content-block?hl=fr La propriété <code>align-content</code> pour les mises en page de blocs (FR)]</span> <br> | |||
<span style="color: #5F9EA0;">[https://toutcequibouge.net/blog/2024/04/panorama-de-techniques-css-parfois-meconnues-des-designers/ Techniques CSS méconnues des designers (FR)]</span> <br> | |||
<span style="color: #5F9EA0;">[https://vincent-valentin.name/articles/un-fallback-pour-les-valeurs-portees-par-des-css-vars Un fallback pour les valeurs portées par des CSS vars (FR)]</span> <br> | |||
<span style="color: #5F9EA0;">[https://vincent-valentin.name/articles/un-rognage-rectangulaire-arrondi Rognage rectangulaire arrondi (FR)]</span> | |||
<big>→ Resources (blogs, etc. about CSS (upcoming) features)</big> <br> | <big>→ Resources (blogs, etc. about CSS (upcoming) features)</big> <br> | ||
Line 153: | Line 152: | ||
==== 2.3 JAVASCRIPT ==== | ==== 2.3 JAVASCRIPT ==== | ||
<big>→ Getting started</big> <br> | <big>→ Getting started</big> <br> | ||
[https://wesbos.com/javascript?ref=sidebar Beginner JavaScript Notes] <br> | |||
[https://fr.wikipedia.org/wiki/Syntaxe_JavaScript JS Syntax (choose your language!)] <br> | |||
<span style="color: #5F9EA0;">[https://openclassrooms.com/fr/courses/7696886-apprenez-a-programmer-avec-javascript?archived-source=6175841 Apprenez à programmer avec JavaScript (FR)]</span> <br> | |||
[https://javascript30.com/ Vanilla JS 30 days challenge] <br> | |||
[https://beginnerjavascript.com/ Beginner JavaScript] <br> | |||
[https://frontendmasters.com/blog/5-things-designers-can-do-with-javascript/ 5 things designers can do with JS] <br> | |||
[https://textslashplain.com/2024/04/10/browser-security-bugs-that-arent-javascript-in-pdf/ Browser security bugs that aren't: JavaScript in PDF] | |||
<big>→ Experiments</big> <br> | <big>→ Experiments</big> <br> | ||
[https://codepen.io/esadpyrenees/pen/xxJbjmO Scaled prev/next] <br> | |||
[https://glitch.com/~3d-card-model-viewer 3D card model] | |||
<big>→ Tools</big> <br> | <big>→ Tools</big> <br> | ||
[https://www.w3schools.com/jsref/prop_element_scrolltop.asp Scroll to top] <br> | |||
[https://www.w3schools.com/howto/howto_js_popup.asp Popups] <br> | |||
[http://fabricjs.com/ Fabric.js] <br> | |||
[http://paperjs.org/examples/ Paper.js] | |||
* p5.js | * p5.js | ||
Line 182: | Line 181: | ||
[https://www.php.net/manual/fr/index.php PHP Manual] (choose your language!) <br> | [https://www.php.net/manual/fr/index.php PHP Manual] (choose your language!) <br> | ||
[https://www.freecodecamp.org/news/what-is-php-write-your-first-php-program/ | [https://www.freecodecamp.org/news/what-is-php-write-your-first-php-program/ Write your first PHP program] <br> | ||
[https://www.freecodecamp.org/news/the-php-handbook/ | [https://www.freecodecamp.org/news/the-php-handbook/ The PHP handbook] <br> | ||
[https://www.freecodecamp.org/news/php-syntax-comments-variables-data-types-with-examples/ | [https://www.freecodecamp.org/news/php-syntax-comments-variables-data-types-with-examples/ PHP syntax: comments, variables, data types] <br> | ||
[https://www.freecodecamp.org/news/logical-operators-in-php/ | [https://www.freecodecamp.org/news/logical-operators-in-php/ Logical operators in PHP] <br> | ||
[https://www.freecodecamp.org/news/method-overloading-in-php/ | [https://www.freecodecamp.org/news/method-overloading-in-php/ Method overloading in PHP] <br> | ||
[https://openclassrooms.com/fr/courses/1665806-programmez-en-oriente-objet-en-php/7306631-tirez-un-maximum-de-ce-cours <span style="color: #5F9EA0;"> | [https://openclassrooms.com/fr/courses/1665806-programmez-en-oriente-objet-en-php/7306631-tirez-un-maximum-de-ce-cours <span style="color: #5F9EA0;">Programmez en orienté objet avec PHP (FR)</span>] <br> | ||
[https://www.youtube.com/watch?v=cWoq5znh0vw&list=PLjwdMgw5TTLVDv-ceONHM_C19dPW1MAMD Playlist | [https://www.youtube.com/watch?v=cWoq5znh0vw&list=PLjwdMgw5TTLVDv-ceONHM_C19dPW1MAMD Playlist vidéo : Apprendre le PHP (FR)] | ||
=== 3. ADDITIONAL SKILLS === | === 3. ADDITIONAL SKILLS === |
Revision as of 19:20, 12 September 2024
This document gathers resources and tutorials to get into web development. You can display the table of contents via the pad's settings, so you'll get the main subjects. They are ordered from the least to the most complex. The resources inside though, are just pasted here with no specific order. The links have a title associated to help you find the subjects you want to focus on. Some resources are in french only, it is specified when it's the case, the link is in green. Be curious, have fun :)
BASIS FOR WEB DEV
First of all, you will have to install VSCode on your computer. In the extensions tab of the software, you will search for LiveServer and download it. You can also browse into the language extensions if you want your interface to not be in English. Now you're ready to go!
- W3 Schools
- MDN (FR) or MDN (EN)
- Free Code Camp
- Udemy → most courses aren't free, but they often do discount sessions where you can get introduction courses in some languages for free, so I recommend you create an account for free and check it up from time to time ;)
- To learn about accessibility
- OpenClassrooms (FR) or OpenClassrooms (EN)
- Graphikart (FR)
→ Nice tools to help you code
- General
- Can I Use – Up to date browser support for CSS properties, HTML tags, etc.
- Clippy – To crop images with CSS
clip-path
- HTML Validator – HTML checker, to see if your code is well written :)
- Convertisseur d'unités (FR)
- Can I Use – Up to date browser support for CSS properties, HTML tags, etc.
- About fonts and type
- Wakamai Fondue – What can my font do??
- Base64 encoder – Can be useful for font manipulation
- Modularscale – Scaling type
- Transfonter – Transform otf and ttf into woff, woff2 and svg
- SYMBL – Symbols, unicode, emojis to copy/paste
- Wakamai Fondue – What can my font do??
- About colours
- Salmon Olive – Colours accepted by the web
- Coolors – Colour palettes
- Coolors – Contrast checker
- Polypane – Contrast checker
- Contrast ratio – Contrast checker
- Odd contrast – Contrast ratio checker
- Color Hunt – Colour palettes
- Randoma11y – Generate random accessible colour contrasts
- WhoCanUse – To simulate the rendering of colours according to visual impairments
- Accessible color palettes builder
- Accessible colors – Do you meet the WCAG criteria?
- Colorblind webpage filter – To see how a website displays
- Salmon Olive – Colours accepted by the web
→ Not coding but really nice
Texturing – A dithering software
Dither it! – Dither images in your browser
LANGUAGES
HTML
→ Getting started
HTML tags cheatsheet
→ Go further
Out of order without JS
Web components
CSS
→ Getting started
Centering things
Transparent borders
An interactive guide to CSS grids
A more modern CSS reset
@font-face
rule
The Rules of Margin Collapse
→ Tools
Tool for creating proportional scales for typography, iconography, spacing, and components in design systems
Create colour palettes based one input colour
CSS Loaders
Shapes translated into CSS
Help with responsive and scaling
Fancy SVG filters
Flex layouts
Image slideshow
→ CSS-print
- paged.js
- Other layout tools
- General helping for CSS-print
- Advanced level
→ Go further
CSS Values and Units
The CSS border-image
property
Better context menus with safe triangles
Lines to connect elements with CSS anchor positioning
where()
to replace complex multi-selectors
Video: A powerful CSS display property that no one talks about
Video: Stop fighting with CSS positioning
At-rules
At-rules (FR)
Media queries
@media
orientation
@media
orientation (FR)
CSS container queries
CSS Container Query Proposal & Explainer
W3C Guide to container queries
Utiliser les media queries (FR)
State of CSS 2022
La propriété align-content
pour les mises en page de blocs (FR)
Techniques CSS méconnues des designers (FR)
Un fallback pour les valeurs portées par des CSS vars (FR)
Rognage rectangulaire arrondi (FR)
→ Resources (blogs, etc. about CSS (upcoming) features)
The Cascade – https://csscade.com/
Mistakes that have been made when CSS was created – https://wiki.csswg.org/ideas/mistakes
An exploration of the pain points that CSS gap solves – https://ishadeed.com/article/the-gap/
Do we need CSS flex-wrap
detection? – https://ishadeed.com/article/flex-wrap-detect/
New Viewport Units – https://ishadeed.com/article/new-viewport-units/
On compliance vs readability: Generating text colors with CSS – https://lea.verou.me/blog/2024/contrast-color/
Custom properties with defaults: 3+1 strategies – https://lea.verou.me/blog/2021/10/custom-properties-with-defaults/
12 Modern CSS One-Line Upgrades – https://moderncss.dev/12-modern-css-one-line-upgrades/
Modern CSS For Dynamic Component-Based Architecture – https://moderncss.dev/modern-css-for-dynamic-component-based-architecture/
10 Heuristics to Simplify Design Decision-Making – https://www.betterbydesign.cc/p/10-heuristics-to-simplify-design
List of links about container queries – https://github.com/sturobson/Awesome-Container-Queries
Modern CSS in real life – https://chriscoyier.net/2023/06/06/modern-css-in-real-life/
2.3 JAVASCRIPT
→ Getting started
Beginner JavaScript Notes
JS Syntax (choose your language!)
Apprenez à programmer avec JavaScript (FR)
Vanilla JS 30 days challenge
Beginner JavaScript
5 things designers can do with JS
Browser security bugs that aren't: JavaScript in PDF
→ Experiments
Scaled prev/next
3D card model
→ Tools
Scroll to top
Popups
Fabric.js
Paper.js
- p5.js
- Website
- Start learning p5.js
- Simple.js – To make p5.js even easier for beginners
- p5.riso
- p5.utils
- Website
2.4 PHP
Before starting with PHP you will need a server runner like XAMMP or MAMMP. Don't worry, everything is pretty much listed and detailed in the tutorials below.
PHP Manual (choose your language!)
Write your first PHP program
The PHP handbook
PHP syntax: comments, variables, data types
Logical operators in PHP
Method overloading in PHP
Programmez en orienté objet avec PHP (FR)
Playlist vidéo : Apprendre le PHP (FR)
3. ADDITIONAL SKILLS
3.1 RESPONSIVE DESIGN
3.2 ACCESSIBILITY
→ All time resources for pretty much everything accessibility-related
Stephanie Walter's blog (EN)
Blog de Stephanie Walter (FR)
W3C Web Accessibility Initiative
→ Tutorials
Designing without dark patterns, a guide for designers
Keyboard Accessibility Guide Part 1: HTML + CSS
Keyboard Accessibility Guide Part 2: JavaScript
Standards Guidelines 2022
10 ways to improve accessibility on websites and social media
Note on aria label usage
Introduction to web accessibility
Making an accessibility statement
Getting the WCAG color contrast right
Dialogs and popovers seem similar. How are they different?
Readability guidelines
Accessibilité des PDF (FR)
L’attribut lang
, pour rendre la page audible... et compréhensible (FR)
Comment partager une image de façon accessible ? (FR)
Accessibilité : quelles exigences pour les livres numériques ? (FR)
Utiliser prefers-reduced-motion
(FR)
RGAA 4.1 (FR - english version in progress)
Contrastes de couleur (FR)
Color contrast
→ Articles and opinions
“An accessible website won’t be beautiful”… really?!
Accessibility resources, tools, articles and books for designers
Accessibility resources and tools to design inclusive products
Thème sombre, dark mode et mythe d'accessibilité (FR)
Dark mode and accessibility myth
Approach to alt-text
How to pick the least wrong colors
3.3 BLOGS & CMS
Eleventy website
Setting up Eleventy
Process Wire website
Process Wire Tutorials
Scribouilli (FR)