Guide 04 / 4
Resources and review
Learn to consult documentation, solve an error and check what you have learned.
Find reliable information and explain what you have built.
01 · Exploring reliable resources
The clickable documentation links appear under each guide.
MDN · Structuring content
Open the MDN resource on HTML. Look for the difference between a heading, a paragraph and a list. Go back to the blog and justify three tag choices.
Example
Mission : trouver un exemple de liste ordonnée et l’adapter aux étapes de la soupe.
MDN · label and forms
Read the label page, then click a label's text in a small test form. Observe where the focus goes.
Example
Mission : vérifier que for="q" et id="q" sont identiques.
W3C · Nu HTML Checker
Use the validator's text input to check index.html, then fix the messages starting with the first one.
Example
Mission : retirer temporairement une balise fermante et comprendre le message obtenu.
02 · Troubleshooting and review
Explain a problem before trying a fix.
The page displays the code or does not update
Check the .html extension, that the file is saved and the address that is open. Reload the right page. Avoid a word processor that adds formatting.
Example
Contrôle : le chemin du fichier ouvert correspond-il à mini-blog/index.html ?
An image or an anchor does not work
For an image, check the file's name, case and location. For an anchor, compare href="#soupe" and id="soupe" exactly.
Example
images/soupe.jpg est différent de Images/Soupe.JPG sur un serveur sensible à la casse.
Self-assessment and moving on to CSS
Without looking at the course, explain the role of head, main, article, alt and label. Build a recipe with ingredients and preparation. If these skills are in place, move on to the CSS course with the three reference recipes.
Example
Je sais :
□ créer un document UTF-8 ;
□ hiérarchiser les titres ;
□ choisir liste et balise sémantique ;
□ relier un lien à sa cible ;
□ tester au clavier.
Before CSS, keep a copy of the HTML version that works.