Code Fellows reading notes
Compose a short poem describing how HTTP sends data between computers.
On a c
Describe how HTML, CSS, and JS files are “parsed” in the browser.
The HTML file is parsed first, followed by the CSS style sheet, then lastly the javascript file.
How can you find images to add to a Website?
You can find images to add to a website by going to Google Images and use the license filter to reduce the likelyhood of the images displayed are copyrighted.
How do you create a String vs a Number in JavaScript?
In Javasceript to create a string data type, the value must be represented between single quotation marks ''
or double quotation marks " "
. A number data type will only be represented by a numeral number.
What is a Variable and why are they important in JavaScript?
Variables are containers that are given names and they store values that can be accesed by calling the variable. let myVariable;
What is an HTML attribute?
HTML attributes are values (words) that are attached to elements in the opening tag that contain extra information about the element that won’t appear in the content.
Describe the Anatomy of an HTMl element.
What is the Difference between <article>
and <section>
element tags?
<article>
encloses a block of related content that makes sense on its own without the rest of the page (e.g., a single blog post).
<section>
is similar to <article>
, but it is more for grouping together a single part of the page that constitutes one single piece of functionality (e.g., a mini map, or a set of article headlines and summaries), or a theme. It’s considered best practice to begin each section with a heading; also note that you can break <article>
s up into different <section>
s, or <section>
s up into different <article>
s, depending on the context.
What Elements does a “typical” website include?
A typical webiste includes the following elemets: <head>
, <body>
, <footer>
, <nav>
, <div>
, <article>
, <section>
, <main>
and <aside>
.
How does metadata influence Search Engine Optimization?
Specifying a description that includes keywords relating to the content of your page has the potential to make your page appear higher in relevant searches performed in search engines (such activities are termed Search Engine Optimization, or SEO.).
How is the <meta>
HTML tag used when specifying metadata?