fix(curriculum): clarify IDs vs classes usage in challenge (#62154)

Co-authored-by: Sanchit Kathpalia <sanchitkhthpalia.com>
This commit is contained in:
Sanchit Kathpalia
2025-09-11 09:09:58 -07:00
committed by GitHub
co-authored by Sanchit Kathpalia
parent 2b008e5aa8
commit 75716c4dbb
@@ -38,7 +38,7 @@ In contrast to the `id` attribute, the `class` attribute value does not need to
If you wanted to add multiple class names to an element, you can do so by separating the names by a space. Here is an updated example applying multiple classes to a `div` element:
```html
<div class="box red-box"></div>
<div class="box red-top"></div>
```
To apply a set of styles to that `box` class, you can reference that class inside your CSS. Here is an example of setting `width`, `height`, and `border` properties to the element with the `class` name of `box`: