reading-notes

🗒️ Class 01 : Setup Developer Toolbelt

The topics covered in the Class 01 Reading go over the basics of HTML, CSS, and JavaScript. It covers how data is transmitted between computers, how a browser reads the different markup and programming languages, and also semantic vs syntax style coding.

Getting Started

HTTP is how we send
Data between computers, devices, and friends,
First, we get the IP address of the site’s (home) server,
The we use TCP/IP as a way to head over,
If the server approves, and send the client a “200 ok”,
All the data packets get sent, and they can view that site all day :)

Introduction to HTML

  1. What is an HTML attribute?
    An HTML is the part of an HTML Element that contains any additional information such as class, id, target, and title.

  2. Describe the Anatomy of an HTMl element.
    An HTML Element consists of an opening and closing tag, the content, and an attribute (if applicable).
    For Example:
    <p class="isAttribute"> I am a Paragraph Element with an attribute of class="isAttribute"</p>

  3. What is the Difference between <article> and <section> element tags?
    An <article> element tag is used for blocks of code on a site that are self-contained components. This includes block posts, news article, product cards, etc. A sections is a generic container for standalone sections in a document that doesnt usually have more specific semantic elements.

  4. What Elements does a “typical” website include?
    A typical website contains the following:

<head> </head>: Contains information about the website not typically visible to the user.  
<body>: The section of the website that is visible to the user which is broken down into the following:   
  - <header>
  - <nav>
  - <main>
  - and <footer>
  1. How does metadata influence Search Engine Optimization?
    Metadata are not not displayed on the page but they are used by search engines (such as Google) to get keywords and other information and displays/boosts them when a search is executed.

  2. How is the <meta> HTML tag used when specifying metadata?
    One way to use the <meta> tag is to specify the characer set that we can use in the document eg. <meta charset="utf-8"/>

Miscellaneous

How to start to design a website

Semantics

What is JavaScript

Describe 2 things that require JavaScript in the Browser?
Two things in a browser that would require JavaScript are interactive elements such as forms, and timers.

How can you add JavaScript to an HTML document?
JavaScript can be added two ways, one is by linking an external .js file using
<script src ="file.js"></script>.

Another way is to add the js content in the script elements
<script> let js='I am a script code inside an html' </script>

Things I want to know more about

Lecture Notes

Terminal Commands

GitHub/Git