Closed ondrae closed 11 years ago
I submitted a pull request (https://github.com/codeforamerica/howtocity-web/pull/2) that adds some modular structure to the JS to (hopefully) make is easier to work with. As is all the var declarations will get attached to the global scope. This wraps all the code in an "instructions" object (aka a JS module) that will live at window.instructions and it also creates private (accessible within the module only) and public (accessible from the outside) methods/properties. Happy to help with working with this structure if needed.
I'm working on this one in the steps_behavior branch.
In progress visual design:
Dots for all your dotty needs:
Logo with no text (150 x100 pixels)
The missing light green dot
Description
Following the wire frame, we need to code the behavior for each step. Each dot on the left should represent a step, with the color changing if that step is complete or not.
This task could most likely use some additional endpoints available from the How to City API. Lets have a good discussion about what is needed.
Files
js/instructions.js
Tools Needed
HTML, CSS, JQuery, Bootstrap
Screenshot
Tips