Demande la galerie d'images évaluation

Bonjour à tous

Je viens de terminer l'évaluation de la galerie d'images qui contient des fichiers css, js et html et je souhaite que quelqu'un examine mon travail

Mon image gallery code

Mon image gallery site

Image gallery evaluation page in MDN



Bonjour @Dongyue and welcome to the community :wave:

Nice work!

Here are some comments:

  • If you just have numbers in the array (compared to image names), you could also directly use the loop index (+1).
  • The alt attribute is used for image descriptions. You should have an array of strings for this.
  • The btnlightnessClicked() function should also change the button text.

I hope that helps. If you decide to make some improvements to your code, I’m happy to have another look. :slightly_smiling_face:

See you,