Follow this link to the newsic website http://koalabears.github.io/newsic/
A mobile-first web application that combines trending news with relevant music using the Guardian and Soundcloud APIs
To learn how to use APIs
Using HTML, CSS, Javascript
Koalabears
- Create a README(obviously the first thing we did ...)
- Create wireframes
- Familiarise oursleves with Guardian and Soundcloud API
- Link to the Guardian API http://open-platform.theguardian.com/
- Link to the Soundcloud API https://developers.soundcloud.com/
-
Error check so website doesn't break e.g. tell the code what to do if something doesn't exist. Don't have lots of dots in objects. e.g. if x.y.z.a should be if x.y=? then if x.y.z=? then.....
-
INDENT CODE -
-
DECLARE VARIABLES AT THE TOP - vars should only ever follow a function statement
-
window.localstorage
-
run as one function e.g. "(function(x){ ALL CODE HERE})"
-
don't make lots of DOM changes using javascript (e.g. document.)- better to put it all in a string (templates). try moustache.js