Lesson 2 Highlights

Kyle Leombruno


Browsers and Servers

I had no idea that browsers and servers were two different things. I thought the browsers themselves were servers. The browser and server are constantly communicating and sending requests.


Requests and Responses

The browser and server make request and responses with eachother and call on one of three content types. HTML, CSS, or JavaSccript. When the server needs webpage elements, it call on HTML. Calls on CSS for webpage design elements. Lastly, the browser calls Javascript for interactive elements.


Where to put your stylesheet links

When you want to link your CSS style sheet, think it in the head section in HTML. When you want to link your JavaScript file, you put that link at the end of the body section right before the closing body tag. This lets the page load its basic and design elements before the interactive elements so the page looks like it loads quicker.


Code Layout

The primary semantic elements are header, section, article, nav, aside, figure, and footer. This is how you should break up your sections of code to make everything easier to find. Most coders know what certain things should be in what section.


What is an IP address?

An IP address is a numerical address that is assigned to every device connected to the Internet. This is every devices social security number in a sense. If you know a devices IP address, it makes it a lot easier to visit that device as if it was a server.