Walking the Walk
We’ve had a lot of practice breaking down other applications and talking about how they work. Today, we’ll make one ourselves.
Housekeeping
- General thoughts on project pitches: you should have a final pitch. You do, right?
- Project requirements and a look forward
- Ronan and Katia are leading a discussion on The Refugee Project
- Talking about our class assignment.
Let’s Make an App
In class last week we deconstructed a ProPublica application about drug labels. Let’s go over some things we might have done differently if we were building it.
Now let’s build it. Our goal is to replicate the functionality of the interactive (which means, at the bare minimum, it has to work) and improve it as you prefer.
We’ll break into groups of 3.
- Ronan, Manasi, Kateryna
- Joshua, Becca, Krystnell Alexis
- Keng, Kathryn Free, Peipei
- Lilah, Sarah L., Sarah Ann
- Erin, Claire, Jillian
- Hannah, Alex, John
- Kristin, Cayleigh, Xinrui
Things we need:
- Make sure you have Google Chrome and Sublime Text 2 downloaded and ready to rumble.
Make a older somewhere on your desktop and make an
index.html
page inside it. Add the following code as a starter.<style type="text/css"> body { width:760px; margin:40px auto; font-family: georgia, sans; } h1 { border-bottom:1px solid #dedede; margin-bottom:20px; padding-bottom:20px; } </style> <h1>Starter interactive</h1> <p>This is where HTML will go.</p> <script type="text/javascript"> // this is how you comment in javascript. console.log("this is where javascript will go!"); </script>
In your Terminal, navigate to the folder and run (optional, mac users only)
python -m SimpleHTTPServer
As a class, let’s make a plan in plain English.
There is no step-by-step tutorial for this project. It’s mostly going to be about learning on your own and figuring out how to ask the internet good questions. Amanda and Kevin will be available to help you with any questions you have. We’ll make sure everyone is on track with their plan.
Tips for success: break up your project into tiny little parts in plain English.
Things you might need:
- Probably the assets.
- Probably the data for maximum daily dose by drug.
- Probably how to make a list/grid of things.
- Probably a way to store data in Javascript (we’ve done this before)
- Probably a way to “do stuff when you click things”. One popular library non-experts do this is with jQuery.
- Probably a way to do basic math in a web browser. (JavaScript seems like a good idea.)
Homework
Your homework is to email the class a link to your group’s working project by 11:59PM March 25. The project must work correctly, but it doesn’t have to look fancy. We don’t really care much about grades, but we’ll say there are three outcomes:
- You do not turn in a link, or you turn in a link that is broken. (Not ideal.)
- You turn in a link that works. (Ideal.)
- You turn in a link that works and is an improvement on the original in some fashion. (Gold stars for everyone!)