1.6 KiB
1.6 KiB
id | title | challengeType | guideUrl | videoUrl | localeTitle |
---|---|---|---|---|---|
bad87fee1348bd9aec908850 | Apply the Default Bootstrap Button Style | 0 | https://chinese.freecodecamp.org/guide/certificates/apply-the-default-bootstrap-button-style | 应用默认引导按钮样式 |
Description
btn-default
按钮类。将btn
和btn-default
类同时应用于每个button
元素。 Instructions
Tests
tests:
- text: 将<code>btn</code>类应用于每个<code>button</code>元素。
testString: 'assert($(".btn").length > 5, "Apply the <code>btn</code> class to each of your <code>button</code> elements.");'
- text: 将<code>btn-default</code>类应用于每个<code>button</code>元素。
testString: 'assert($(".btn-default").length > 5, "Apply the <code>btn-default</code> class to each of your <code>button</code> elements.");'
Challenge Seed
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
<div class="row">
<div class="col-xs-6">
<div class="well">
<button></button>
<button></button>
<button></button>
</div>
</div>
<div class="col-xs-6">
<div class="well">
<button></button>
<button></button>
<button></button>
</div>
</div>
</div>
</div>
Solution
// solution required