Homepage

Project/progress updates!

View the Project on GitHub modopo/reading-notes

Reading Class 01

Getting Started

1) An address is found, but the real address is served through DNS An HTTP request is sent, crossing the internet using TCP/IP An approval is needed, only a 200 OK is allowed Lots of packets start passing by, assembled at your browser

2) HTML is pasred first, which then in turns let the browers know if there are any links that reference any external CSS styleshseets and any scripts elements referencing to scripts. As the HTML is being parsed by the browser, any CSS files and JavaScript files are requested from the server.

3) To add an image to HTML, the img tag is used, with the src attributed, which contains the path to an image file, wether it be an URL or a local file.

4) You create a variable with a declaration let and a variable name. To create a String, you assigned literal string to the newly created varialbe, and vice versa for Numbers. You assign a number to the variable.

5) A variable in JavaScript is a named location in storage, used to store data values.

Introduction to HTML

1) An HTML attribute is any additional information on HTML elements.

2) An element contains 3 parts. The opening tag and closing tag. These tags contain the name of the element and wrapped by opening and closing angle brackets. The content in between the tags, is simply just text. The opening tag, content and closing tag in that order comprise the element.

3) The difference between <article> and <section> are the use case. Article elements are used to wrap similar contents, while a section element is used to set definite sections of a page.

4) In a typical website, the common elements are <!DOCTYPE>, <head>, <body> and <html>

5) Metadata influence SEO by having information in the head of an HTML (the portion not displayed) for any search engine to find your page and index it accordingly to relevance.

6) The <meta> elemented is used to describe the data by varioua attributes, such as content.

Miscellaneous: How to start to design a website

1) The first step of designing a website is determing the the vision and what you want and how to implement it.

2) The important questions to ask is how and when you need to do.

Miscellaneious: Semantics

1) The h1 element is an actual header that displays an emphasized text of the highest priority, whereas a span element just generates a generic inilne container to house content.

2) Sementatic benifits by keeping the code organized for various purposes, such as SEO having an easier time indexing your page, finding block of codes that’s been organized by semantics easier to search through, or suggesting to other developers the type of data is involved.

Miscellaneious: JavaScript

1) 2 things that require JavaScript are dynamic operations of HTML, or storing useful values inside variables.

2) You can add JavaScript into an HTML document with the <script> elements.

Things I want to know more about

How are variables in JavaScript referenced?