From client to server requests are sent
From server to client go the responses across the internet
Do I GET or do I POST? HTML tells how my data packets flow
Tools » Usage Rights and select Creative Commons licenses
String vs a Number in JavaScript?
Strings are signified by ' 'Numbers do not require anything, though you may need to change user inputs into numbers using parseInt()Variable and why are they important in JavaScript?
let
<article> and <section> element tags?
<article> tags are used to identify standalone content
<section> tags are used when a more descriptive semantic element is not available
<main> content, but can be organized to control flow<header><nav><main>
<article> for standalone content<section> to identify specific sections of content<div> as a generic content holder for styling application with CSS<aside><footer><meta> HTML tag used when specifying metadata?
<head> tag<meta> can be modified with additional attributes that specify language, character sets used, names, and descriptions useful in SEO<h1> element over a <span> element to display a top level heading?
<h1> tag because:
<span> element, it would take considerably more code to format the text as a header
<h1> tag
<script>
Internal
<script>
// JavaScript goes in here
</script>
External
<script src"script.js"></script>
<link> elements that reference external CSS sytlesheets and <script> elements referencing external JavaScript scripts<script> element
<script src="scripts/main.js"></script>
let| Variable | Explanation | Example |
|---|---|---|
| String | Text. Signified by '' |
let myVar = `Bob`; |
| Number | Number. | let myVar = 10; |
| Boolean | True/False. Used with keywords true & false |
let myVar = true; |
| Array | Multiple values stored in a single reference. Signified by [] |
let myVar = ['Bob','Steve','John']; Refer to each member of the array like this: myVar[0], myVar[1], etc. |
| Object | Everything in JS is an object. | `let myVar = document.querySelector(‘h1’); |


<header><nav><main>
<article> for standalone content<section> to identify specific sections of content<div> as a generic content holder for styling application with CSS<aside><footer>Semantic Elements
<article>
<aside>
<details>
<figcaption>
<figure>
<footer>
<header>
<main>
<mark>
<nav>
<section>
<summary>
<time>
<script> tag<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to 201!</title>
</head>
<body>
</body>
</html>
<head> and <body> are the only child tags of the <html> tag<body> tag<head> tag is used by the browser<img src"file.jpg" alt"a picture" />
src and alt to be a valid tag
src, there is no source imagealt, there is nothing to display to the user if the image fails to loadwidth or height attributes be added to the image to prevent layout shift while webpage loads