Why is the badge not aligned vertically center with the text?
Without 'align-items-center' on the flex container (LI), the badge and text align to baseline by default, causing vertical misalignment.
💡 Use 'align-items-center' on the flex container to vertically center badge and text (see render_step 2).
Why does the badge appear below the text instead of on the right?
If 'd-flex' and 'justify-content-between' are missing, the LI content stacks vertically by default, placing badge below text.
💡 Add 'd-flex justify-content-between' to LI to arrange text and badge horizontally with space between (see render_step 2).
Why does the badge background color not show?
If the badge class or background color class like 'bg-primary' is missing, the badge has no background styling and looks like plain text.
💡 Always include 'badge' and a background color class like 'bg-primary' for visible badge styling (see render_step 3).