Demo mode This site is not live. It is currently being tested and developed. Nothing on here represents an offer.
← Exit course WEB-101 Web Development for Beginners: HTML and CSS
Course progress, 0 of 8 parts done0%

Summary

Download as PDF

  • The internet is the worldwide network of networks. The web is one service that runs on it, made of linked pages and applications you reach with a browser.
  • Tim Berners-Lee proposed the web at CERN in 1989, and the first website, at info.cern.ch, was running by the end of 1990.
  • A website mainly gives you information, while a web application lets you get something done, usually with content that depends on who you are.
  • A URL has a scheme (https), a domain name and a path. DNS turns the domain name into the server's IP address.
  • The browser sends an HTTP request, and the server answers with a response that starts with a status code: 2xx success, 3xx look elsewhere, 4xx a problem with the request, 5xx a problem on the server.
  • One page needs many requests, one for each file, and each request succeeds or fails on its own. HTTPS makes the connection private, but does not prove a site is honest.
  • The front end runs in the browser, the back end runs on the server, and the database stores data permanently. A full-stack developer can work in all three.
  • HTML gives a page its structure, CSS its appearance and JavaScript its behaviour. HTML always comes first.
  • Browser developer tools (F12) show a page's HTML and CSS, every request it makes and any JavaScript errors. Changes you make in them affect only your screen.
  • Name project files in lower case, with hyphens instead of spaces and no special characters, so links keep working once a site is published.