mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-23 21:04:36 -05:00
fix(curriculum): move nested div explanation to step 5 (#63932)
Signed-off-by: Samaresh Kumar Singh <ssam3003@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ dashedName: step-5
|
||||
|
||||
# --description--
|
||||
|
||||
Inside the element having a `class` of `card-container`, create another `div` element. This `div` will represent the first book card.
|
||||
You can add multiple elements inside a `div` element to group related content. Inside the element having a `class` of `card-container`, create another `div` element. This `div` will represent the first book card.
|
||||
|
||||
Add a `class` attribute to this new `div` element and set the value of the `class` attribute to `card`.
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ dashedName: step-9
|
||||
|
||||
The `button` element is used to create clickable buttons on a webpage. Buttons are interactive elements that users can click to perform actions.
|
||||
|
||||
You can add multiple elements inside a `div` element to group related content. Add a `button` element inside the element that has a `class` of `card`, give the button a `class` attribute set to `btn`, and the text `Buy Now`.
|
||||
Add a `button` element inside the element that has a `class` of `card`, give the button a `class` attribute set to `btn`, and the text `Buy Now`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user