Skip to content

Latest commit

 

History

History
75 lines (44 loc) · 2.97 KB

class-01.md

File metadata and controls

75 lines (44 loc) · 2.97 KB

Reading 1 Assignment

Reading 01


Questions 1:

  • Compose a short poem describing how HTTP sends data between computers - HTTP where connections ignite, client devices and servers unite, Resources exchange with glee and delight throughout the web and throughout the device. (with internet)

  • Describe how HTML, CSS, and JS files are “parsed” in the browser - The browser fetches the files and goes through them from top to bottom. These files are broken down into a tree like structure known as DOM. (Document Object Model) It does this to understand the structure

  • How can you find images to add to a Website? You can use image placeholder websites or just find one on google.

  • How do you create a String vs a Number in JavaScript? A string is assigned by using single or double quotes and a number can be assigned in many diffrent ways. examples: Directly assigning numeric values, using numeric expressions, or through special numeric values like NaN.

  • What is a Variable and why are they important in JavaScript? Variables are important for storing data. This stored data can be used for many things.

HTML Intro Questions:

  • What is an HTML attribute?

Attributes are used to control an element. These are special words/commands that are put in the opening tag.

  • Describe the Anatomy of an HTMl element. Opening tag with angled brackets, close tag, and content.

  • What is the Difference between article and section element tags? The article element specifies independent, self-contained content. The section element defines section in a document. (w3 schools definiton)

  • What Elements does a “typical” website include? doctype,html tags, head, body, header, main, footer

  • How does metadata influence Search Engine Optimization? It provides search engines with important data. The more data it has the easier it is for the search egine to show traffic to your website.

  • How is the meta HTML tag used when specifying metadata?

It is used in the head so no one can actually see this data on the websites home page.

Miscellaneous Questions

What is the first step to designing a Website?

  • What exactly do I want to accomplish?
  • How will a website help me reach my goals?
  • What needs to be done, and in what order, to reach my goals?
  • (Taken from developer.mozilla.org)
  • Planning essientally

What is the most important question to answer when designing a Website?

  • What exactly do I want to accomplish?

Semantics

Why should you use an h1 element over a span element to display a top level heading?

  • Helps with SEO and can increase traffic.

What are the benefits of using semantic tags in our HTML?

  • Makes things cleaner, more accessible and helps with the search engine. (SEO)

What is Java Script?

Describe 2 things that require JavaScript in the Browser?

  • DOM
  • AJAX

How can you add JavaScript to an HTML document?

  • With the script command/tag

Things I want to know more about