Add additional instruction to Give Each Element a Unique ID

This commit adds an addtional instruction to the challenge, specifing to
keep `target1` to `target3` in the `#left-well` and `target4` to `target6`
in the `#right-well` respectively.

Tested locally.

closes #6331
pull/6347/head
Mrugesh Mohapatra 2016-01-20 22:46:42 +05:30
parent b971abcebf
commit 54e5fca22d
1 changed files with 2 additions and 1 deletions

View File

@ -2144,7 +2144,8 @@
"title": "Give Each Element a Unique ID",
"description": [
"We will also want to be able to use jQuery to target each button by its unique id.",
"Give each of your buttons a unique id like, starting with <code>target1</code> and ending with <code>target6</code>."
"Give each of your buttons a unique id, starting with <code>target1</code> and ending with <code>target6</code>.",
"Make sure that <code>target1</code> to <code>target3</code> are in <code>#left-well</code>, and <code>target4</code> to <code>target6</code> are in <code>#right-well</code>."
],
"tests": [
"assert($(\"#left-well\").children(\"#target1\") && $(\"#left-well\").children(\"#target1\").length > 0, 'message: One <code>button</code> element should have the id <code>target1</code>.');",