JavaScript
populateTable();
styleTable();
function populateTable() {
// exercise: externalize this
var products = [
{
name: "google",
url: "http://google.com",
desc: "search engine",
tags: "search"
},
{
name: "drive",
url: "http://drive.google.com",
desc: "free-mium file storage",
tags: "business, personal"
},
{
name: "docs",
url: "http://docs.google.com",
desc: "free and collaborative office suite (word processor + spreadsheet + presentations)",
tags: "business, personal, writing, accounting, presentations, management"
},
{
name: "maps",
url: "http://maps.google.com",
desc: "free-to-use world atlas",
tags: "mapping, maps, data visualization, transit, traffic, cycling"
},
{
name: "gmail",
url: "http://gmail.com",
desc: "free unlimited email",
tags: "business, personal, communication, email"
},
{
name: "inbox",
url: "http://inbox.google.com",
desc: "same as gmail email (but with snooze button!)",
tags: "business, personal, communication, email"
},
{
name: "calendar",
url: "http://calendar.google.com",
desc: "private and group timekeeping",
tags: "business, personal, time, management"
},
{
name: "youtube",
url: "http://youtube.com",
desc: "the world's video library",
tags: "social networking, video, music, entertainment"
},
{
name: "keep",
url: "http://keep.google.com",
desc: "paperless to-do lists",
tags: "business, personal, management, tasks"
},
{
name: "hangouts",
url: "http://hangouts.google.com",
desc: "private and group messaging",
tags: "business, personal, communication"
},
{
name: "finance",
url: "http://finance.google.com",
desc: "stocks with charts and news",
tags: "business, charts, stocks, money, management, data...