codeforamerica / bizfriendly-web

An experiment in digital literacy lessons. The experiment is now over.
http://bizfriend.ly
22 stars 67 forks source link

Create behavior for lessons steps #1

Closed ondrae closed 11 years ago

ondrae commented 11 years ago

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

htc_lessonwireframes_071213 htc_lessonwireframes_0712132

Tips

anselmbradford commented 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.

ondrae commented 11 years ago

I'm working on this one in the steps_behavior branch.

arielkennan commented 11 years ago

In progress visual design: bizfriendly_lessonsteps_072513

arielkennan commented 11 years ago

Dots for all your dotty needs: green_bigdot green_smalldot gray_smalldot

arielkennan commented 11 years ago

Logo with no text (150 x100 pixels) bizfriendly_weblogo_notext

arielkennan commented 11 years ago

The missing light green dot ltgreen_smalldot