---
id: bad87fee1348bd9aec908855
title: Give Each Element a Unique id
challengeType: 0
videoUrl: ''
localeTitle: منح كل عنصر معرف فريد
---
## Description
كما أننا سنرغب أيضًا في استخدام jQuery لاستهداف كل زر بمعرفه الفريد. امنح كل من الأزرار target6
فريدًا ، بدءًا من target1
وتنتهي بـ target6
. تأكد من أن target1
to target3
في #left-well
، وأن target4
to target6
في #right-well
.
## Instructions
## Tests
```yml
tests:
- text: ''
testString: 'assert($("#left-well").children("#target1") && $("#left-well").children("#target1").length > 0, "One button
element should have the id target1
.");'
- text: ''
testString: 'assert($("#left-well").children("#target2") && $("#left-well").children("#target2").length > 0, "One button
element should have the id target2
.");'
- text: يجب أن يكون عنصر واحد button
معرف target3
.
testString: 'assert($("#left-well").children("#target3") && $("#left-well").children("#target3").length > 0, "One button
element should have the id target3
.");'
- text: يجب أن يحتوي عنصر button
الواحد على معرف target4
.
testString: 'assert($("#right-well").children("#target4") && $("#right-well").children("#target4").length > 0, "One button
element should have the id target4
.");'
- text: يجب أن يكون عنصر button
الواحد هو target5
.
testString: 'assert($("#right-well").children("#target5") && $("#right-well").children("#target5").length > 0, "One button
element should have the id target5
.");'
- text: يجب أن يكون عنصر button
الواحد هو 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
```