diff --git a/public/css/main.less b/public/css/main.less index 407ea07e64..f31a8e2a59 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -551,6 +551,24 @@ div.CodeMirror-scroll { padding-bottom: 117%; } +#directions { + text-align: left; + font-size: 15px; +} + +.well { + text-align: left; + height: 200px; +} + +#exercise-directory { + font-size: 20px; +} + +#current-exercise { + text-size: 250px; +} + //uncomment this to see the dimensions of all elements outlined in red //* { // border-color: red; diff --git a/views/resources/jquery-exercises.jade b/views/resources/jquery-exercises.jade index e3edfd2604..6582d4703d 100644 --- a/views/resources/jquery-exercises.jade +++ b/views/resources/jquery-exercises.jade @@ -90,115 +90,96 @@ block content var currentExercise = 0; refreshEverything(currentExercise); }); - style. - #directions { - text-align: left; - font-size: 15px; - } - - .well { - text-align: left; - height: 200px; - } - - #exercise-directory { - font-size: 20px; - } - - #current-exercise { - text-size: 250px; - } - - html. -
-
-
-
-
-
- learn to code free at freecodecamp.com - -

jQuery Exercises

-
-
-
-
- -
-
-
-
#location1
-
#location2
-
-
-
-
-
-
- #next-exercise -
-
- -
- -
-
- -
-
- - - - + .container + .row + .col-xs-12.col-sm-8 + .jumbotron + .row + .col-xs-12.text-center + img.img-responsive(src='https://s3.amazonaws.com/freecodecamp/logo4.0LG.png', alt='learn to code free at freecodecamp.com') + h1 jQuery Exercises + br + #directions.text-primary + br + .row + .col-xs-6 #location1 + .col-xs-6 #location2 + .row + #location1.col-xs-6.well + #location2.col-xs-6.well + #next-exercise.btn.btn-primary.btn-lg.btn-block + | #next-exercise + br + button#solution-button.btn.btn-block.btn-lg.btn-info + | #solution-button + br + .text-center + | Created for + a(href='http://www.FreeCodeCamp.com') Free Code Camp + br + | by + a(href='https://twitter.com/ossia') Quincy Larson + | , + a(href='https://www.twitter.com/terakilobyte') Nathan Leniz + | , + a(href='https://twitter.com/iheartkode') Mark Howard + | and + a(href='https://twitter.com/ryanmalm') Ryan Malm + | . Please + a(href='http://codepen.io/ossia/pen/raVEgN') fork this. + #exercise-directory.col-xs-12.col-sm-4 + .panel.panel-primary + .panel.panel-heading List of Exercises + .panel-body + ol(start='0') + li + a(href='#') Re-enable an element + li + a(href='#') Change an element's parent + li + a(href='#') Change an element's CSS + li + a(href='#') Use jQuery filters to modify even elements + li + a(href='#') Change nth child + li + a(href='#') Clone an element + li + a(href='#') Remove an element + li + a(href='#') Check checkboxes + li + a(href='#') Make text read-only + li + a(href='#') Select an option in a select box + li + a(href='#') Add a CSS class to an element + li + a(href='#') Lookup an element's data attribute + li + a(href='#') Count child elements + li + a(href='#') Show an element and click on it + #hint-modal.modal.fade(tabindex='-1', role='dialog', aria-hidden='true') + .modal-dialog + .modal-content + .modal-header + button.close(type='button', data-dismiss='modal') + span(aria-hidden='true') × + span.sr-only Close + h4#myModalLabel.modal-title Your hint + .modal-body + #hint + #finished-modal.modal.fade(tabindex='-1', role='dialog', aria-hidden='true') + .modal-dialog + .modal-content + .modal-header + button.close(type='button', data-dismiss='modal') + span(aria-hidden='true') × + span.sr-only Close + h4#myModalLabel.modal-title + | Congratulations! You've finished our jQuery exercises! + a(href='http://www.freecodecamp.com/') Go back to Free Code Camp + | and mark this challenge complete. + .modal-body + #hint \ No newline at end of file