update cost calculator
This commit is contained in:
@ -28,7 +28,7 @@ $(document).ready(function () {
|
|||||||
$('#chosen').text('Coming from ' + city.replace(/-/g, ' ').replace(/\w\S*/g, function (txt) {
|
$('#chosen').text('Coming from ' + city.replace(/-/g, ' ').replace(/\w\S*/g, function (txt) {
|
||||||
return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();
|
return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();
|
||||||
}) + ', and making $' + lastYearsIncome.toString().replace(/0000$/, '0,000') + ', your true costs will be:');
|
}) + ', and making $' + lastYearsIncome.toString().replace(/0000$/, '0,000') + ', your true costs will be:');
|
||||||
var categoryNames = ['Lost Wages', 'Financing Cost', 'Housing Cost', 'Tuition / Wage Garnishing'];
|
var categoryNames = ['Lost Wages', 'Financing Cost', 'Housing Cost', 'Tuition / Est. Wage Garnishing'];
|
||||||
bootcamps.forEach(function (camp) {
|
bootcamps.forEach(function (camp) {
|
||||||
var x0 = 0;
|
var x0 = 0;
|
||||||
if (camp.cities.indexOf(city) > -1) {
|
if (camp.cities.indexOf(city) > -1) {
|
||||||
@ -38,7 +38,7 @@ $(document).ready(function () {
|
|||||||
}
|
}
|
||||||
camp.mapping = [{
|
camp.mapping = [{
|
||||||
name: camp.name,
|
name: camp.name,
|
||||||
label: 'Tuition / Wage Garnishing',
|
label: 'Tuition / Est. Wage Garnishing',
|
||||||
value: +camp.cost,
|
value: +camp.cost,
|
||||||
x0: x0,
|
x0: x0,
|
||||||
x1: x0 += +camp.cost
|
x1: x0 += +camp.cost
|
||||||
|
@ -221,7 +221,28 @@
|
|||||||
"cities": [
|
"cities": [
|
||||||
"portland"
|
"portland"
|
||||||
]
|
]
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
|
"name": "Viking Code School",
|
||||||
|
"cost": "18000",
|
||||||
|
"housing": "0",
|
||||||
|
"finance": false,
|
||||||
|
"weeks": "16",
|
||||||
|
"cities": [
|
||||||
|
"online"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "App Academy",
|
||||||
|
"cost": "18000",
|
||||||
|
"housing": "500",
|
||||||
|
"finance": false,
|
||||||
|
"weeks": "12",
|
||||||
|
"cities": [
|
||||||
|
"san-francisco"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
"name": "Turing School",
|
"name": "Turing School",
|
||||||
"cost": "17500",
|
"cost": "17500",
|
||||||
"housing": "400",
|
"housing": "400",
|
||||||
@ -230,13 +251,4 @@
|
|||||||
"cities": [
|
"cities": [
|
||||||
"denver"
|
"denver"
|
||||||
]
|
]
|
||||||
}, {
|
|
||||||
"name": "Free Code Camp",
|
|
||||||
"cost": "0",
|
|
||||||
"housing": "0",
|
|
||||||
"finance": false,
|
|
||||||
"weeks": "0",
|
|
||||||
"cities": [
|
|
||||||
"online"
|
|
||||||
]
|
|
||||||
}]
|
}]
|
||||||
|
@ -101,7 +101,6 @@ block content
|
|||||||
li.large-li The most substantial cost for most people is lost wages. A 40-hour-per-week job at the US Federal minimum wage would pay at least $15,000 per year. You can read more about economic cost
|
li.large-li The most substantial cost for most people is lost wages. A 40-hour-per-week job at the US Federal minimum wage would pay at least $15,000 per year. You can read more about economic cost
|
||||||
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.
|
|
||||||
.spacer
|
.spacer
|
||||||
.row
|
.row
|
||||||
.col-xs-12.col-sm-6
|
.col-xs-12.col-sm-6
|
||||||
|
Reference in New Issue
Block a user