Lesson 6 of 2030%

(Progress persistence is disabled until Phase 9)

Bootstrap
Beginner

Buttons

Use Bootstrap's custom button styles for actions in forms, dialogs, and more.

Buttons

Use Bootstrap’s custom button styles for actions in forms, dialogs, and more.

Bootstrap provides powerful, pre-built components and utilities.

Example

<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-outline-primary">Outline Primary</button>

Experiment with the code above in the Playground!

Lesson Progress

Practice This TopicTake QuizBuild a Bootstrap Project

Ready to practise?

Apply what you learned with a hands-on challenge.

Practise This Topic