Expanded description of 'Remove an Element Using jQuery' waypoint
This commit is contained in:
@ -464,7 +464,8 @@
|
|||||||
"difficulty": 3.10,
|
"difficulty": 3.10,
|
||||||
"description": [
|
"description": [
|
||||||
"Now let's remove an HTML element from your page using jQuery.",
|
"Now let's remove an HTML element from your page using jQuery.",
|
||||||
"jQuery has a function called <code>.remove()</code> that will remove an HTML element entirely."
|
"jQuery has a function called <code>.remove()</code> that will remove an HTML element entirely",
|
||||||
|
"Remove element <code>target4</code> from the page by using the <code>.remove()</code> function."
|
||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"assert($(\"#target4\").length === 0, 'Use jQuery to remove your <code>target4</code> element from your page.')",
|
"assert($(\"#target4\").length === 0, 'Use jQuery to remove your <code>target4</code> element from your page.')",
|
||||||
|
Reference in New Issue
Block a user