---
id: bad87fee1348bd9aec908852
title: Create a Class to Target with jQuery Selectors
challengeType: 0
videoUrl: ''
localeTitle: 使用jQuery选择器创建一个目标类
---
## Description
并非每个类都需要具有相应的CSS。有时我们创建类只是为了使用jQuery更容易地选择这些元素。为每个button
元素提供类target
。
## Instructions
## Tests
```yml
tests:
- text: 将target
类应用于每个button
元素。
testString: 'assert($(".target").length > 5, "Apply the target
class to each of your button
elements.");'
```
## Challenge Seed
## Solution
```js
// solution required
```