diff --git a/challenges/01-front-end-development-certification/jquery.json b/challenges/01-front-end-development-certification/jquery.json
index 6b8b2ef4ce..ff073f9a83 100644
--- a/challenges/01-front-end-development-certification/jquery.json
+++ b/challenges/01-front-end-development-certification/jquery.json
@@ -539,7 +539,7 @@
"Desactiva sólo el botón target1
."
]
},
- {
+ {
"id": "564944c91be2204b269d51e3",
"title": "Change Text Inside an Element Using jQuery",
"description": [
@@ -844,10 +844,10 @@
"jQuery has a function called children()
that allows you to access the children of whichever element you've selected.",
"Here's an example of how you would use the children()
function to give the children of your left-well
element the color of blue:",
"$(\"#left-well\").children().css(\"color\", \"blue\")
",
- "Give all the children of your #right-well
element a color of green."
+ "Give all the children of your #right-well
element a color of orange."
],
"tests": [
- "assert($(\"#right-well\").children().css(\"color\") === 'rgb(0, 128, 0)', 'message: All children of #right-well
should have green text.');",
+ "assert($(\"#right-well\").children().css(\"color\") === 'rgb(255, 165, 0)', 'message: All children of #right-well
should have orange text.');",
"assert(code.match(/\\.children\\(\\)\\.css/g), 'message: You should use the children()
function to modify these elements.');",
"assert(code.match(/
children()
que te permite acceder a los hijos de cualquier elemento que hayas seleccionado.",
"He aquí un ejemplo de cómo se utiliza la función children()
para darle a los hijos de tu elemento left-well
el color azul:",
"$(\"#left-well\").children().css(\"color\", \"blue\")
",
- "Da a todos los hijos de tu elemento right-well
el color verde."
+ "Da a todos los hijos de tu elemento right-well
el color naranja."
]
},
{
@@ -925,7 +925,7 @@
" $(\"#target2\").appendTo(\"#right-well\");",
" $(\"#target5\").clone().appendTo(\"#left-well\");",
" $(\"#target1\").parent().css(\"background-color\", \"red\");",
- " $(\"#right-well\").children().css(\"color\", \"green\");",
+ " $(\"#right-well\").children().css(\"color\", \"orange\");",
"",
" });",
"fcces",
@@ -990,7 +990,7 @@
" $(\"#target2\").appendTo(\"#right-well\");",
" $(\"#target5\").clone().appendTo(\"#left-well\");",
" $(\"#target1\").parent().css(\"background-color\", \"red\");",
- " $(\"#right-well\").children().css(\"color\", \"green\");",
+ " $(\"#right-well\").children().css(\"color\", \"orange\");",
" $(\"#left-well\").children().css(\"color\", \"green\");",
" $(\".target:nth-child(2)\").addClass(\"animated bounce\");",
"",
@@ -1052,7 +1052,7 @@
" $(\"#target2\").appendTo(\"#right-well\");",
" $(\"#target5\").clone().appendTo(\"#left-well\");",
" $(\"#target1\").parent().css(\"background-color\", \"red\");",
- " $(\"#right-well\").children().css(\"color\", \"green\");",
+ " $(\"#right-well\").children().css(\"color\", \"orange\");",
" $(\"#left-well\").children().css(\"color\", \"green\");",
" $(\".target:nth-child(2)\").addClass(\"animated bounce\");",
" $(\".target:even\").addClass(\"animated shake\");",