mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-10-24 23:49:06 +08:00
299 lines
5.0 KiB
JSON
299 lines
5.0 KiB
JSON
{
|
|
"name": "jQuery Ajax and JSON",
|
|
"order" : 0.004,
|
|
"challenges": [
|
|
{
|
|
"_id": "bad87fee1348bd9acdd08826",
|
|
"name": "Learn how Script Tags and Document Ready Work",
|
|
"difficulty": 0.072,
|
|
"description": [
|
|
"Test"
|
|
],
|
|
"tests": [
|
|
"assert(typeof $('#target').attr('disabled') === 'undefined', 'Change the disabled attribute of the \"target\" button to false');",
|
|
"expect($('#target')).to.exist()"
|
|
],
|
|
"challengeSeed": [
|
|
"fccss",
|
|
" $(document).ready(function() {",
|
|
" $('#target').attr('disabled', true)",
|
|
" });",
|
|
"fcces",
|
|
"<button id='target' class='btn btn-primary btn-block'>Enable this button with jQuery</button>"
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aedc08826",
|
|
"name": "Target Elements by Selectors Using jQuery",
|
|
"difficulty": 0.073,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
]
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aedb08826",
|
|
"name": "Target Elements by Class Using jQuery",
|
|
"difficulty": 0.074,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aeda08826",
|
|
"name": "Target an element by ID Using jQuery",
|
|
"difficulty": 0.075,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed908826",
|
|
"name": "Change the CSS of an Element Using jQuery",
|
|
"difficulty": 0.076,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed808826",
|
|
"name": "Disable an Element Using jQuery",
|
|
"difficulty": 0.077,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed708826",
|
|
"name": "Remove an Element Using jQuery",
|
|
"difficulty": 0.078,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
]
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed608826",
|
|
"name": "Move an Element Using jQuery",
|
|
"difficulty": 0.079,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed508826",
|
|
"name": "Clone an Element Using jQuery",
|
|
"difficulty": 0.080,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed408826",
|
|
"name": "Animate an Element Using jQuery",
|
|
"difficulty": 0.081,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed308826",
|
|
"name": "Target the Parent of an Element Using jQuery",
|
|
"difficulty": 0.082,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed208826",
|
|
"name": "Target the Children of an Element Using jQuery",
|
|
"difficulty": 0.083,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed108826",
|
|
"name": "Target a Specific Child of an Element Using jQuery",
|
|
"difficulty": 0.084,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed008826",
|
|
"name": "Target Even Numbered Elements Using jQuery",
|
|
"difficulty": 0.085,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aecc08826",
|
|
"name": "Read Data from an Element Using jQuery",
|
|
"difficulty": 0.086,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aebc08826",
|
|
"name": "Get Data from an URL Using jQuery",
|
|
"difficulty": 0.087,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9ae9c08826",
|
|
"name": "Loop through JSON Data Using jQuery",
|
|
"difficulty": 0.089,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9ae8c08826",
|
|
"name": "Setup Click Events Using jQuery",
|
|
"difficulty": 0.089,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
}
|
|
]
|
|
}
|