diff --git a/README.md b/README.md new file mode 100644 index 000000000..455d8f772 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +# Git collaboration, @Mania + +## 🌐 Web Standards and Accessibility + +| Before | After | +|--------------------------------|------------------------------------------------------------------------| +| No `lang` attribute | Added `lang="fr"` to specify the content language (French) | +| No character encoding | Added `` to properly display special characters | +| Not mobile-friendly | Added `` for responsive design | + +--- + +## Visual Presentation (CSS Styling) + +| Before | After | +|----------------------------|-----------------------------------------------------------------------| +| Only `font-size` defined | Added modern font, background color, text color, padding, and spacing | +| Plain list | Bold city names and proper spacing between items | +| Unstyled links | Colored links with hover effect | + +--- + +## Content Quality + +| Before | After | +|-------------------------|-------------------------------------------------------------------------| +| Only 4 cities listed | Extended to 8 major cities | +| Hard-to-read numbers | Formatted numbers using non-breaking spaces (e.g. `17 836 133`) | +| Content in English | Translated fully into **French** to match `lang="fr"` | + +--- + +## External Link Best Practices + +| Before | After | +|-----------------------------------|------------------------------------------------------------------------| +| Just a basic link | Added `target="_blank"` to open in a new tab | +| — | Added `rel="noopener noreferrer"` for security and performance | + +--- + +## Professional HTML Structure + +- Clean indentation +- Proper semantic tags: `

`, `
    `, `
  1. `, `` +- Organized internal CSS +- Full, valid HTML5 structure + +--- diff --git a/cities.html b/cities.html index bab3bfab4..71fac50b3 100644 --- a/cities.html +++ b/cities.html @@ -1,31 +1,70 @@ - + - Git Collab Exercise - -

    Top cities, by population

    +

    Les villes les plus peuplées au monde

    - Taken (borrowed?) from - - Wikipedia + Données extraites de  + + Wikipédia


      -
    1. Shanghai (17,836,133)
    2. -
    3. Istanbul (13,854,740)
    4. -
    5. Karachi (12,991,000)
    6. -
    7. Mumbai (12,478,447)
    8. +
    9. Shanghai – 17 836 133 habitants
    10. +
    11. Istanbul – 13 854 740 habitants
    12. +
    13. Karachi – 12 991 000 habitants
    14. +
    15. Mumbai – 12 478 447 habitants
    16. +
    17. São Paulo – 12 252 023 habitants
    18. +
    19. Pékin – 11 716 620 habitants
    20. +
    21. Delhi – 11 007 835 habitants
    22. +
    23. Lagos – 10 578 000 habitants