330 lines
5.7 KiB
JSON
330 lines
5.7 KiB
JSON
{
|
|
"name": "jQuery, Ajax and JSON",
|
|
"order" : 0.004,
|
|
"challenges": [
|
|
{
|
|
"_id": "bad87fee1348bd9acdd08826",
|
|
"name": "Waypoint: 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": "Waypoint: Target Elements by Selectors Using jQuery",
|
|
"difficulty": 0.073,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aedb08826",
|
|
"name": "Waypoint: Target Elements by Class Using jQuery",
|
|
"difficulty": 0.074,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aeda08826",
|
|
"name": "Waypoint: Target an element by ID Using jQuery",
|
|
"difficulty": 0.075,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed908826",
|
|
"name": "Waypoint: Change the CSS of an Element Using jQuery",
|
|
"difficulty": 0.076,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed808826",
|
|
"name": "Waypoint: Disable an Element Using jQuery",
|
|
"difficulty": 0.077,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed708826",
|
|
"name": "Waypoint: Remove an Element Using jQuery",
|
|
"difficulty": 0.078,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed608826",
|
|
"name": "Waypoint: Move an Element Using jQuery",
|
|
"difficulty": 0.079,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed508826",
|
|
"name": "Waypoint: Clone an Element Using jQuery",
|
|
"difficulty": 0.080,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed408826",
|
|
"name": "Waypoint: Animate an Element Using jQuery",
|
|
"difficulty": 0.081,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed308826",
|
|
"name": "Waypoint: Target the Parent of an Element Using jQuery",
|
|
"difficulty": 0.082,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed208826",
|
|
"name": "Waypoint: Target the Children of an Element Using jQuery",
|
|
"difficulty": 0.083,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed108826",
|
|
"name": "Waypoint: Target a Specific Child of an Element Using jQuery",
|
|
"difficulty": 0.084,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aed008826",
|
|
"name": "Waypoint: Target Even Numbered Elements Using jQuery",
|
|
"difficulty": 0.085,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aecc08826",
|
|
"name": "Waypoint: Read Data from an Element Using jQuery",
|
|
"difficulty": 0.086,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9aebc08826",
|
|
"name": "Waypoint: Get Data from an URL Using jQuery",
|
|
"difficulty": 0.087,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9ae9c08826",
|
|
"name": "Waypoint: Loop through JSON Data Using jQuery",
|
|
"difficulty": 0.089,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
|
|
{
|
|
"_id": "bad87fee1348bd9ae8c08826",
|
|
"name": "Waypoint: Setup Click Events Using jQuery",
|
|
"difficulty": 0.089,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
{
|
|
"_id": "bad87fee1348bd9aede08826",
|
|
"name": "Waypoint: Use Hex Codes for Precise Colors",
|
|
"difficulty": 0.071,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
],
|
|
"challengeType": 0
|
|
},
|
|
{
|
|
"_id": "bad87fee1348bd9aedd08826",
|
|
"name": "Waypoint: Use Shortened Hex Codes for Colors",
|
|
"difficulty": 0.071,
|
|
"description": [
|
|
|
|
],
|
|
"tests": [
|
|
|
|
],
|
|
"challengeSeed": [
|
|
|
|
]
|
|
}
|
|
]
|
|
}
|