---
id: bad87fee1348bd9aec908850
title: Apply the Default Bootstrap Button Style
challengeType: 0
guideUrl: 'https://chinese.freecodecamp.org/guide/certificates/apply-the-default-bootstrap-button-style'
videoUrl: ''
localeTitle: 应用默认引导按钮样式
---
## Description
Bootstrap有另一个名为btn-default
按钮类。将btn
和btn-default
类同时应用于每个button
元素。
## Instructions
## Tests
```yml
tests:
- text: 将btn
类应用于每个button
元素。
testString: 'assert($(".btn").length > 5, "Apply the btn
class to each of your button
elements.");'
- text: 将btn-default
类应用于每个button
元素。
testString: 'assert($(".btn-default").length > 5, "Apply the btn-default
class to each of your button
elements.");'
```
## Challenge Seed
## Solution
```js
// solution required
```