Closed tbtommyb closed 8 years ago
I can do that now :smile:
var database = {
"BBC": {
"name": "BBC News",
"id": "bbc-news",
"headline": [{
"title": "something serious",
"description": "this is an article about something totally serious",
"topics": [
{
"name":"politics",
"score":0.64
},{
"name":"arts",
"score":0.98
}
]
}]
},
"mirror": {
"name": "Mirror",
"id": "daily mirror",
"headline": [{
"title": "something serious",
"description": "this is an article about something totally serious",
"topics": [
{
"name":"politics",
"score":0.64
},{
"name":"arts",
"score":0.98
}
]
}]
}
}
Someone needs to lay out the directory and add the basic HTML etc. We could probably get away with just a single JS file so I guess this would work:
But maybe the infographic will be tricky enough that it needs a separate JS file?