finishing touches on calculator
parent
88286d366f
commit
883a561d73
|
@ -154,6 +154,10 @@ $(document).ready(function () {
|
|||
}, 1000);
|
||||
});
|
||||
|
||||
d3.selectAll("#chart").on("click", function () {
|
||||
change();
|
||||
});
|
||||
|
||||
function change() {
|
||||
if ($("body").data("state") === "stacked") {
|
||||
transitionGrouped();
|
||||
|
|
|
@ -331,8 +331,6 @@ $(document).ready(function() {
|
|||
|
||||
$('#story-submit').on('click', storySubmitButtonHandler);
|
||||
|
||||
$('#reset-button').on('click', resetEditor);
|
||||
|
||||
var commentSubmitButtonHandler = function commentSubmitButtonHandler() {
|
||||
$('#comment-button').unbind('click');
|
||||
var data = $('#comment-box').val();
|
||||
|
|
|
@ -1541,7 +1541,7 @@
|
|||
],
|
||||
"tests": [
|
||||
"assert($('input[placeholder]').length > 0, 'Add a <code>placeholder</code> attribute text <code>input</code> element.')",
|
||||
"assert($('input').attr('placeholder').match(/cat\\s+photo\\s+URL/gi), 'Set the value of your placeholder attribute to \"cat photo URL\".')"
|
||||
"assert($('input') && $('input').attr('placeholder') && $('input').attr('placeholder').match(/cat\\s+photo\\s+URL/gi), 'Set the value of your placeholder attribute to \"cat photo URL\".')"
|
||||
],
|
||||
"challengeSeed": [
|
||||
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",
|
||||
|
|
|
@ -3,6 +3,7 @@ block content
|
|||
script(src="../../../js/calculator.js")
|
||||
.row
|
||||
.col-xs-12.col-sm-10.col-md-8.col-lg-6.col-sm-offset-1.col-md-offset-2.col-lg-offset-3
|
||||
h1.text-center Coding Bootcamp Cost Calculator
|
||||
h3.text-center.text-primary#chosen Coming from _______, and making $_______, your true costs will be:
|
||||
#city-buttons
|
||||
.spacer
|
||||
|
@ -102,3 +103,13 @@ block content
|
|||
a(href='https://en.wikipedia.org/wiki/Economic_cost' target='_blank') here
|
||||
| .
|
||||
li.large-li Free Code Camp. We don't charge tuition or garnish wages. We're fully online so you don't have to move. We're self-paced so you don't have to quit your job. Thus, your true cost of attending Free Code Camp will be $0.
|
||||
.spacer
|
||||
.row
|
||||
.col-xs-12.col-sm-4.col-md-3
|
||||
img.img-responsive.testimonial-image(src='https://www.evernote.com/l/AHRIBndcq-5GwZVnSy1_D7lskpH4OcJcUKUB/image.png')
|
||||
.col-xs-12.col-sm-8.col-md-9
|
||||
h3 Built by Suzanne Atkinson
|
||||
p.large-p Suzanne is an emergency medicine physician, triathlon coach and web developer from Pittsburgh. You should  
|
||||
a(href='https://twitter.com/intent/user?screen_name=SteelCityCoach' target='_blank') follow her on Twitter
|
||||
| .
|
||||
.spacer
|
||||
|
|
Loading…
Reference in New Issue