finishing touches on calculator
This commit is contained in:
@ -154,6 +154,10 @@ $(document).ready(function () {
|
|||||||
}, 1000);
|
}, 1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
d3.selectAll("#chart").on("click", function () {
|
||||||
|
change();
|
||||||
|
});
|
||||||
|
|
||||||
function change() {
|
function change() {
|
||||||
if ($("body").data("state") === "stacked") {
|
if ($("body").data("state") === "stacked") {
|
||||||
transitionGrouped();
|
transitionGrouped();
|
||||||
|
@ -331,8 +331,6 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
$('#story-submit').on('click', storySubmitButtonHandler);
|
$('#story-submit').on('click', storySubmitButtonHandler);
|
||||||
|
|
||||||
$('#reset-button').on('click', resetEditor);
|
|
||||||
|
|
||||||
var commentSubmitButtonHandler = function commentSubmitButtonHandler() {
|
var commentSubmitButtonHandler = function commentSubmitButtonHandler() {
|
||||||
$('#comment-button').unbind('click');
|
$('#comment-button').unbind('click');
|
||||||
var data = $('#comment-box').val();
|
var data = $('#comment-box').val();
|
||||||
|
@ -1541,7 +1541,7 @@
|
|||||||
],
|
],
|
||||||
"tests": [
|
"tests": [
|
||||||
"assert($('input[placeholder]').length > 0, 'Add a <code>placeholder</code> attribute text <code>input</code> element.')",
|
"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": [
|
"challengeSeed": [
|
||||||
"<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>",
|
"<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")
|
script(src="../../../js/calculator.js")
|
||||||
.row
|
.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
|
.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:
|
h3.text-center.text-primary#chosen Coming from _______, and making $_______, your true costs will be:
|
||||||
#city-buttons
|
#city-buttons
|
||||||
.spacer
|
.spacer
|
||||||
@ -102,3 +103,13 @@ block content
|
|||||||
a(href='https://en.wikipedia.org/wiki/Economic_cost' target='_blank') here
|
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.
|
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
|
||||||
|
Reference in New Issue
Block a user