Flash cards
What is the difference between the internet and the web?
Show the answer
The internet is the worldwide network of networks. The web is one service that runs on it: linked pages and applications you open in a browser.
Who proposed the World Wide Web, and where?
Show the answer
Tim Berners-Lee, at CERN near Geneva, in March 1989.
What does DNS do?
Show the answer
It turns a domain name such as gov.za into the IP address of the server, much like a phone's contacts list turns a name into a number.
Name the three main parts of the URL https://www.example.co.za/menu/index.html
Show the answer
The scheme (https), the domain name (www.example.co.za) and the path (/menu/index.html).
What does status code 200 mean?
Show the answer
OK. The server is sending what you asked for.
What does status code 404 mean?
Show the answer
Not Found. The server is working but there is nothing at that path, usually because of a mistyped or outdated link.
A status code starts with 5. Whose problem is it?
Hint: Think of the four groups: 2, 3, 4 and 5.
Show the answer
The server's. Codes starting with 5 mean something went wrong on the server, not with the visitor's request.
What does HTTPS add to HTTP?
Show the answer
Encryption, so only your browser and the server can read the conversation. It makes the connection private, not the site honest.
What is the front end?
Show the answer
Everything that runs in the visitor's browser, built with HTML, CSS and JavaScript.
What is the back end?
Show the answer
The code that runs on the server, such as checking logins, applying business rules and reading and writing the database.
What does a full-stack developer do?
Show the answer
Works across all the layers, front end, back end and database, though usually stronger in some than others.
What is the job of HTML?
Show the answer
To give the page its content and structure: headings, paragraphs, links, images and sections.
What is the job of CSS?
Show the answer
To control appearance: colours, fonts, spacing and the layout on different screen sizes.
What is the job of JavaScript in the browser?
Show the answer
To add behaviour: what happens when the visitor clicks, types or scrolls.
Which developer tools panel shows every file a page requested, with its status code?
Show the answer
The Network panel. Open it, then reload the page to record the requests.
You change a heading in the Elements panel and reload. What happens?
Show the answer
Your change disappears. Developer tools change only your browser's copy, and reloading fetches the original files from the server again.