---
id: bad87fee1348bd9aec908855
title: Give Each Element a Unique id
challengeType: 0
videoUrl: ''
localeTitle: Dê a cada elemento um id único
---
## Description
Também queremos usar o jQuery para segmentar cada botão por seu ID exclusivo. Dê a cada um dos seus botões um ID único, começando com target1
e terminando com target6
. Certifique-se de que target1
para target3
esteja em #left-well
e target4
para target6
em #right-well
.
## Instructions
## Tests
```yml
tests:
- text: Um elemento de button
deve ter o id target1
.
testString: 'assert($("#left-well").children("#target1") && $("#left-well").children("#target1").length > 0, "One button
element should have the id target1
.");'
- text: Um elemento de button
deve ter o id target2
.
testString: 'assert($("#left-well").children("#target2") && $("#left-well").children("#target2").length > 0, "One button
element should have the id target2
.");'
- text: Um elemento de button
deve ter o id target3
.
testString: 'assert($("#left-well").children("#target3") && $("#left-well").children("#target3").length > 0, "One button
element should have the id target3
.");'
- text: Um elemento de button
deve ter o id target4
.
testString: 'assert($("#right-well").children("#target4") && $("#right-well").children("#target4").length > 0, "One button
element should have the id target4
.");'
- text: Um elemento de button
deve ter o ID target5
.
testString: 'assert($("#right-well").children("#target5") && $("#right-well").children("#target5").length > 0, "One button
element should have the id target5
.");'
- text: Um elemento de button
deve ter o ID target6
.
testString: 'assert($("#right-well").children("#target6") && $("#right-well").children("#target6").length > 0, "One button
element should have the id target6
.");'
```
## Challenge Seed
## Solution
```js
// solution required
```