HTML & CSS Workshop
HTML & CSS Workshop
BASICS
BY: ANDRES GONZALEZ
Software Engineer Jr for BAQ/CALI/ECU and Bomberbot
Background
-Front End developer at Immigo (Final project - Holberton foundations)
-Holberton CH13
-Former UX Researcher at Torre
-Former Filmmaker and voiceover actor
Twitter: @andresgfranco
Linkedin: https://www.linkedin.com/in/andresgfranco/
Today's Guide
HTML
Brief context.
Web CSS
browser/client. Ways of using
Syntax. CSS.
DOM. Selectors.
Tags. Cascade,
Attributes. specificity, and
Semantic. inheritance.
Web's anatomy. Box model.
Dimensions.
What's next.
HTML
Tim
Berners-Lee
URL
SUGGESTION:
HTTP W3C - WORLD
WIDE WEB
CONSORTIUM
MOSAIC
IBM
Web NETSCAPE
INTERNET
browsers EXPLORER
SAFARI
GOOGLE
CHROME(V8)
FIREFOX
Standards
ATTRIBUTES
Extra characteristics. Some of them are
shared others are exclusive.
TAG
ANATOMY
Semantic web
HYPERTEXT MARKUP LANGUAGE
Webpage
anatomy
CSS
CASCADING STYLE SHEETS
3 ways of
adding BY
CREATING
CSS to
A STYLE
TAG
our HTML BY
IMPORTING
AN
EXTERNAL
CSS FILE
Skipped on purpose: last property
semicolon optional
but it is suggested to use it.
Selectors
GLOBAL
Selectors
CLASS
TAG
Selectors
ID ATTRIBUTE
Selectors
GROUP
Selectors
DESCENDANT
Selectors
DESCENDANT
Selectors
DIRECT
DESCENDANT
GENERAL SIBLING (~)
PSEUDOCLASS (:)
PSEUDOELEMENT (::)
Some others
Cascade,
specificity, and
inheritance
TRIVIA TIME!
What color will be .title?
What would be the output color?
What would be the output color?
What would be the output color?
What would be the output color?
What would be the output color?
What would be the output color?
What would be the output color?
Inheritance
TRIVIA TIME!
What would be the output color?
What would be the output color?
Box model
Dimensions
Colors
FLEXBOX, AND GRID
RESPONSIVE DESIGN,
MOBILE FIRST, SASS,
SCSS
JAVASCRIPT,
WEBPACK, BABEL,
ECMASCRIPT,
FRAMEWORKS, ETC.
Thanks!