#Third Lesson
-
Header:
-
Logo + navbar (background: #282828)
-
Main image:
-
text heading (white)
-
image, (background: #949381)
-
botom black border (about 10px)(background: #282828)
-
Main:
-
background: #e9e9e9
-
Heading (h3)(#444444), left side showing time per lecture (same color)
-
1*6 thumbnails with short description of the lecturer:
-
background png with lecturer pic
-
below:
-
(white) box with a short desctiption (p) (15px border radius )
-
at the top of the box another "speach" box with the lecturer title (h3) + name (p) (background: #d0eae9).
We will devide our file system to a few files of CSS, HTML and JS
Why?
Because then, if we will need to modify our color pallet, we will change our colors.css file, instead the entire CSS file.
What to look at first?
- If i have a good components
- Solid HTML is the basis for every good website
- Motherfuckingwebsite
- Write everything on a paper (or note)
- the name should describe the role of each components
- breakdown the elements for each section
- hierarchy of components
- Think In Patterns: e.g break down the page to reusable components.
What does it mean? A common language between the developers (example:
Sectioning
<nav></nav>
- represents a section of a page that links to other pages or to parts within the page: a section with navigation links.<article></article>
- represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable.<section></section>
- represents a generic section of a document, i.e., a thematic grouping of content, typically with a heading. Each<section>
should be identified, typically by including a heading (<h1>-<h6>
element) as a child of the<section>
element.<aside></aside>
- represents a section of the page with content connected tangentially to the rest, which could be considered separate from that content.<figure>
and<figcaption>
- the figcaption is used to describe the figure element.
Grouping
<main></main>
<header></header>
<footer></footer>
Every Html tag have their own Attributes, a small section of tag have their own attributes (Ex. image has an attribute width and height).
- Block - Uses the Whole line (e.g
<div>
) - Inline - Uses only the the space that it needs to (not taking a whole line, e.g
<span>
).
Unclosed tags - tags without a closing, will be inside the <head>
tag and will show an informative content of the page, usually it will be a <meta>
tag.
- Build the entire web_b03.png page
- Get all the components descriptions from the MDN