diff --git a/controllers/challenges.js b/controllers/challenges.js index 41e269853a..47599d380e 100644 --- a/controllers/challenges.js +++ b/controllers/challenges.js @@ -37,7 +37,7 @@ exports.createAndDeployAWebsite = function(req, res) { exports.installGithubAtomTextEditor = function(req, res) { res.render('challenges/install-github-atom-text-editor', { name: "Install Github's Atom Text Editor", - video: "", + video: "110753792", time: "5 minutes", next: '/challenges/modify-and-redeploy-your-website', steps: ["Download the Atom editor at http://atom.io", "Unzip it and install Atom.", "Open up Atom.", "Now you have a dedicated text editor!"] @@ -69,7 +69,7 @@ exports.startAPairProgrammingSession = function(req, res) { exports.addDynamicContentToYourWebsite = function(req, res) { res.render('challenges/add-dynamic-content-to-your-website', { name: "Add Dynamic Content to your Website", - video: "", + video: "110753641", time: "10 minutes", next: '/challenges/codecademy-html-and-css-track', steps: ["Go to http://www.powr.io", "From the dropdown menus, choose 'Contact Form' and 'HTML'", "Find the template you downloaded from http://startbootstrap.com in your file manager (Finder on Mac and Windows Explorer on Windows).", "Drag the file to Atom", "Copy the lines of HTML from the POWr tutorial to your index.html file, being careful to put them where they belong.", "Drag the entire template directory onto BitBalloon to deploy it", "Go to http://bitballoon.com", "Verify that the form works by filling it out and submitting it. You can then go back to POWr.io and view the new database record that the form created.", "Now add a the POWr.io Twitter feed to your portfolio website, then redeploy it to BitBalloon."] @@ -162,7 +162,7 @@ exports.codecademyJavascriptTrack = function(req, res) { res.render('challenges/codecademy-javascript-track', { name: "Codecademy JavaScript Track", time: "10 hours", - next: 'challenges/get-help-the-hacker-way-with-rsap', + next: '/challenges/get-help-the-hacker-way-with-rsap', video: "110795564", steps: [ "Go to http://www.codecademy.com/en/tracks/javascript-combined and complete the course." diff --git a/views/challenges/partials/challenge.jade b/views/challenges/partials/challenge.jade index 009ffa41c9..40295d9452 100644 --- a/views/challenges/partials/challenge.jade +++ b/views/challenges/partials/challenge.jade @@ -5,7 +5,7 @@ h3.text-center span.ion-android-clock span Takes about #{time} - .btn.btn-primary.btn-large.btn-block.start-challenge Start the challenge + .btn.btn-success.btn-large.btn-block.start-challenge Start the challenge .challenge-content.hidden-element .responsive-container iframe(src='//player.vimeo.com/video/#{video}', frameborder='0', webkitallowfullscreen='', mozallowfullscreen='', allowfullscreen='') @@ -15,8 +15,7 @@ li!= step .btn.btn-success.btn-large.btn-block.completed-challenge I've completed this challenge .ten-pixel-break - .text-center - a.skip-challenge(href="#") I want to skip this challenge for now + .btn.btn-primary.btn-large.btn-block.completed-challenge.skip-challenge I want to skip this challenge for now .panel-footer.text-center span Need a break?   a(href="http://blog.freecodecamp.com", target="_blank") Check out our blog