HTML Fundamentals - What Are IDs and Classes, and When Should You Use Them?

Tell us what’s happening:

Hello, the wording is confusing here: id(…) they cannot have spaces in them. (…)In contrast(…)the class attributthe class attribute value does not need to be unique and can contain spaces.". I though it did mean that the name of id can’t contain spaces when the names of classes can. I understood now that it did mean that you can list several classes using space to separate them. But the wording was confusing. Just reporting it.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0

Challenge Information:

HTML Fundamentals - What Are IDs and Classes, and When Should You Use Them?

Welcome to the forum @PERCE-NEIGE!

Thank you for helping make FCC better. You can report a bug or make a suggestion at GitHub Issues. Whenever reporting a bug or making a suggestion, please check first that there isn’t already an issue for it and provide as much detail as possible.

Happy coding!