diff --git a/public/css/main.less b/public/css/main.less index cfbc54eeb6..03a1fff032 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -916,6 +916,9 @@ iframe.iphone { padding-bottom: 10px; } +.italic { + font-style: italic; +} //uncomment this to see the dimensions of all elements outlined in red //* { // border-color: red; diff --git a/public/js/main.js b/public/js/main.js index 62a0a8473e..6c79342262 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -30,12 +30,16 @@ $(document).ready(function() { .addClass('animated fadeInDown'); }); + $('.step-text').on('click', function() { + $(this).siblings().children('input').trigger('click'); + }); + $('.challenge-list-checkbox').on('change', function() { if ($(this).is(":checked")) { - $(this).parent().parent().children('.step-text').addClass('strikethrough text-primary'); + $(this).parent().parent().children('.step-text').addClass('italic'); } if (!$(this).is(":checked")) { - $(this).parent().parent().children('.step-text').removeClass('strikethrough text-primary'); + $(this).parent().parent().children('.step-text').removeClass('italic'); } }); diff --git a/seed_data/coursewares.json b/seed_data/coursewares.json index 172b46c544..e8bf26f571 100644 --- a/seed_data/coursewares.json +++ b/seed_data/coursewares.json @@ -650,7 +650,7 @@ "difficulty": 1.01, "challengeSeed": "123488494", "description": [ - "Objective: Build a CodePen.io that successfully reverse-engineers this: http://codepen.io/FreeCodeCamp/full/gbEmJr/.", + "Objective: Build a CodePen.io that successfully reverse-engineers this: http://codepen.io/GeoffStorbeck/full/GJKRxZ.", "Rule #1: Don't look at the example project's code. Figure it out for yourself.", "Rule #2: You may use whichever libraries or APIs you need.", "Rule #3: Reverse engineer the example project's functionality, and also feel free to personalize it.",