Week 4
This week we are going to build our first website using JavaScript to make our site interactive. In this website we will make use of JSON data objects and API's to communicate with other server to provide our website with relevant information.
An API - short for Application Programming Interface - is a service offered by a program to allow another program to use that service. In the context of web development, APIs are often used to get data from a web server. For instance, Twitter's Public API allows you to programmatically search through tons of tweets from within your program, allowing you to make a custom Twitter widget, among many other things! Most of the time, the data returned is in the JSON format - be sure to read up on the syntax!
Most important concepts:
Exercises about this weeks concepts:
Answer these questions to test your understanding of the key concepts of this week.
What is an API?
What is JSON?
How do i create a random number between specific values (eg. 1 and 10?)
How do i change values in the HTML document with JavaScript?
How do i make all elements in a website scalable with bootstrap?
How does the grid-system of bootstrap work?