Henrik Ove Karlsen Dahle

This is me


I am technically a student of mathematics this year, but as I'm in the process of switching over, I had an empty slot and decided to take something I felt could interest me as well. I have some experience with coding, mostly Python and LUA, with a tiny bit of C++ and other miscellaneous languages as well. I do not have much experience in HTML, CSS or Javascript.

In this course, I expect to learn HTML, CSS and Javascript. I also expect to learn about networking and how the internet actually works, on a more basic level.

I am quite interested in IT and coding, and might consider switching my major to it if I really enjoy it. In the end, we'll just have to wait and see how it goes.

Questions 1

  1. In a client/server architecture, the server's job is to listen to the client's request and fulfill it if possible. It could for instance retrieve your bank balance, or even just a web-page for the client.
  2. The client requests things from the server and then displays them to you.
  3. An IP adress is simply your adress. The place you can be reached over the internet. It is unique to you; if it wasn't, you wouldn't be able to receive packages on the internet, as they wouldn't know where to put them.
  4. The DNS, or Domain Name System simply serves as kind of a "phonebook" to translate shorthand, "normal" URL's into IP adresses. For instance, if you type in www.example.com into your adress bar, your browser sends a request to the DNS server, which then looks it up and returns, which is what you actually connect to.
  5. The web, WWW is a subset of the internet that follows certain protocols. The internet includes everything on the internet, not just websites, but also things like FTP, email, Usenet, etc.
  6. HTML is simply a markup language in use on the web today. It defines what content is on a page, and how to display it, allowing you much greater freedom in how you want a page to look than if every page were pure plaintext.

Questions 2

  1. Because it is cascading. That is a key feature of CSS. It is meant to let you write less code and not repeat yourself so much, so if you only need that particular style for that one element, and otherwise want it to be the same as the other elements of its kind, you can do that.
  2. IDs are unique and often used for identification. They can only be applied to one particular element. Classes can be reused over and over. For example, right in this very document, I use a class I've ever creatively named text, in order to signify that this element should have a border around it and a different background colour. If I wanted an ID, it would be sensible to for instance place them on the different headers, so I can refer to them easily with hyperlinks and such should the need arrive or the document grow very large.
  3. RGBA stands for Red Green Blue Alpha, and allows you to apply those values in order to express every single colour we can express on computers, with an added alpha channel, to add transparency, should that be desired.
  4. The CSS document is not actually part of the body, it is not something you want the client to read himself, but simply information you use to display the page properly. Miscellaneous technical information generally goes in the head section, so it's perfect for this.
  5. article > p { would match every single p element within article.