SlideShare a Scribd company logo
Frontend Crash Course
Intro to HTML/CSS
March 2017
http://bit.ly/tf-html-css-dc
WiFi - In3-Guest
About me
โ€ข Tyler Brewerโ€จ
โ€ข Web Developer @ Excella
Consultingโ€จ
โ€ข Thinkful Alumniโ€จ
โ€ข Former Graphic Designer
About us
Thinkful prepares students for web development & data
science jobs with 1-on-1 mentorship programs
About you - โ€˜round the room
โ€ข Whatโ€™s your name?
โ€ข Whatโ€™s your programming background?
โ€ข Whatโ€™s your goal?
Goals
โ€ข Core concepts of HTML/CSS to build websites
โ€ข Drills to practice those concepts
โ€ข Build your ๏ฌrst website
โ€ข Get more comfortable learning to code
โ€ข Take home challenges
How the web works
Type a URL from a client (e.g. google.com)
Browser communicates with DNS server to
๏ฌnd IP address
Browser sends an HTTP request asking
for speci๏ฌc ๏ฌles
Browser receives those ๏ฌles and renders
them as a website
Clients / Servers
Client (sends requests)
Frontend Developer
Manages what user sees
Server (sends response)
Backend Developer
Manage what app does
How it relates to what weโ€™re doing
When we write HTML & CSS today, we are creating
those ๏ฌles that are stored on a server which are then
sent and then rendered by your browser
Setup
http://bit.ly/tf-html-classroom
Normally to write our code weโ€™d use a text editor or an
integrated development environment (IDE)
But since weโ€™re learning weโ€™re going to write our code
in a website to skip the setup, see our results
immediately, and make it easy for us to track progress
Letโ€™s start with HTML
HTML is the content and structure of a webpage
Itโ€™s the skeleton of your website
By itself, HTML is ugly
Weโ€™ll make it pretty later
We will start with just HTML โ€” weโ€™ll then add a
Cascading Style Sheet (CSS) ๏ฌle to โ€œstyleโ€ our
website. More on that laterโ€ฆ
Your ๏ฌrst website
Copy this code (donโ€™t worry if you donโ€™t understand it)
<html>
<body>
<h1>Hello world!</h1>
</body>
</html>
Key HTML concepts
โ€ข Tags
โ€ข Elements
โ€ข Attributes
HTML tags
Every tag starts with a โ€œless thanโ€ sign and ends with a
โ€œgreater thanโ€ sign
<html> #this is an HTML opening tag
<body> #this is a body opening tag
<h1>Hello world!</h1> #this is set of
H1 tags
</body> #this is a body closing tag
</html> #this is an HTML closing tag
More about tags
โ€ข There are opening tags and closing tags โ€” closing tags
have a backslash before the tag name (</html> versus
<html>)
โ€ข Tags instruct a browser about the structure of our
website
โ€ข There are hundreds of built-in tags though youโ€™ll use
the same few a lot
Non-exhaustive list of HTML tags
โ€ข <html> #html tags wrap your entire page
โ€ข <head> #head tags holds info about the page
โ€ข <body> #body tags wrap around your content
โ€ข <h1> #signi๏ฌes the largest headline (through h6)
โ€ข <p> #wraps a paragraph of writing
โ€ข <div> #div tags are generic container tags
โ€ข <a> #anchor tags for text to be a link
โ€ข <ul><li> #unordered list of items
โ€ข <button> #this is a button
HTML elements
HTML elements usually consist of an opening tag,
closing tag, and some content
<html> #html element starts here
<body> #body element starts here
<h1>Hello world!</h1> #this is an
HTML element
</body> #body element ends here
</html> #html element ends here
More about elements
Some consist of just a self-closing tag
<img src=โ€œhttp://i.imgur.com/Th5404r.jpg">
A note about <div>โ€™s
We use <div> tags to separate sections of our site. This
will allow for sophisticated styling. Itโ€™s a good habit to
โ€œwrapโ€ most sections into a <div>
<div>
<h1>Hello world!</h1>
</div>
HTML attributes
HTML attributes set properties on an element โ€” the are
attached in the opening tag
<a href=โ€œhttps://somewhere.com">This is a
link</a>
href is an attribute that sets the destination of a link
<h1 class=โ€œheadlineโ€>This is a headline</h1>
class is one attribute that identi๏ฌes element (for CSS &
Javascript)
HTML Challenges
Complete the following assignments on
http://bit.ly/tf-html-classroom
โ€ข About me
โ€ข Images
โ€ข Links
What is CSS?
Cascading Style Sheets (CSS) interact with your HTML
to determine the visual presentation of your webpages
CSS example
p {
color: red;
font-size: 36px;
}
CSS solves two problems
โ€ข Visual presentation of each element
โ€ข Layout of elements
Key CSS concepts
โ€ข Selectors
โ€ข Property
โ€ข Value
โ€ข Declaration / Declaration Block
CSS selectors
โ€ข Determine HTML elements to target for styles
โ€ข Can target tags, classes, idโ€™s and many more!
โ€ข Selectors can be combined
Example selectors
p (selects all paragraph tags)
.name (selects HTML elements with class โ€œnameโ€)
p.name (selects paragraph tags with class โ€œnameโ€)
CSS properties
Determines aspect of an elementโ€™s appearance to change
โ€ข color (set the font color)
โ€ข font-family (sets main and backup typefaces)
โ€ข background-image (sets background image)
โ€ข height (sets the height of an element)
More on CSS properties
โ€ข Each property has a default value โ€” when you write
CSS, you override that default with a new value
โ€ข There are lots of CSS properties! For a full list see
http://www.htmldog.com/references/css/properties/
CSS values
Determines the aspect of the elementโ€™s appearance we
wish to change
โ€ข color: red, blue, green, #CCCCCC
acceptable values for the color property
โ€ข font-family: helvetica, arial, sans-serif
acceptable values for the font-family property
โ€ข background-image: url(โ€œimageFile.jpg")
looks for a URL value for image ๏ฌle
โ€ข height: 40px, 50%
set in pixels or percentage of container height
Declarations and declaration blocks
This is a declaration block containing two declarations
p {
color: red;
font-size: 36px;
}
CSS challenges
Complete the following assignments on
http://bit.ly/tf-html-classroom
โ€ข Selectors
โ€ข Classes
Linking CSS to HTML
โ€ข Normally youโ€™d have one HTML ๏ฌle for each webpage
(for example, home.html and pro๏ฌle.html), and a single
CSS ๏ฌle for the whole websiteโ€™s styles (styles.css)
โ€ข To link your stylesheet to your HTML, youโ€™d insert the
following line into the <head> section of your HTML
webpage
โ€ข <link rel="stylesheet" type="text/css"
href="theme.css">
Learning to learn
โ€ข Google is your friend!
โ€ข Practice at the edge of your abilities
โ€ข Ignore the hot new thing. Instead go deep with one
technology
Ways to keep learningLevelofsupport
Learning methods
1-on-1 mentorship enables ๏ฌ‚exibility
325+ mentors with an average of 10
years of experience in the ๏ฌeld
Support โ€˜round the clock
Our results
Job Titles after GraduationMonths until Employed
Try us out!
โ€ข Initial 2-week trial
includes six mentor
sessions for $50
โ€ข Learn HTML/CSS and
JavaScript
โ€ข Option to continue
onto web
development
bootcamp
โ€ข Talk to me (or email
tj@thinkful.com) if
youโ€™re interested
Ad

More Related Content

What's hot (20)

Intro to HTML + CSS
Intro to HTML + CSSIntro to HTML + CSS
Intro to HTML + CSS
Jamal Sinclair O'Garro
ย 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
ย 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
Mike Crabb
ย 
An Intro to HTML & CSS
An Intro to HTML & CSSAn Intro to HTML & CSS
An Intro to HTML & CSS
Shay Howe
ย 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3
John Bertucci
ย 
Css
CssCss
Css
Abhishek Kesharwani
ย 
Html5
Html5Html5
Html5
Mohammed Qasem
ย 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
Vero Rebagliatte
ย 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
danpaquette
ย 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS Workshop
Shay Howe
ย 
Html for beginners
Html for beginnersHtml for beginners
Html for beginners
Florian Letsch
ย 
Web development basics
Web development basicsWeb development basics
Web development basics
Kalluri Vinay Reddy
ย 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
Lanh Le
ย 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
Marlon Jamera
ย 
CSS
CSSCSS
CSS
Mallikarjuna G D
ย 
Artdm171 Week4 Tags
Artdm171 Week4 TagsArtdm171 Week4 Tags
Artdm171 Week4 Tags
Gilbert Guerrero
ย 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)
Thinkful
ย 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
stephy123123
ย 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
ย 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
Mike Crabb
ย 
An Intro to HTML & CSS
An Intro to HTML & CSSAn Intro to HTML & CSS
An Intro to HTML & CSS
Shay Howe
ย 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3
John Bertucci
ย 
Html & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshopHtml & CSS - Best practices 2-hour-workshop
Html & CSS - Best practices 2-hour-workshop
Vero Rebagliatte
ย 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
Abhishek Kesharwani
ย 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
danpaquette
ย 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS Workshop
Shay Howe
ย 
Html for beginners
Html for beginnersHtml for beginners
Html for beginners
Florian Letsch
ย 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
Lanh Le
ย 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
Marlon Jamera
ย 
Artdm171 Week4 Tags
Artdm171 Week4 TagsArtdm171 Week4 Tags
Artdm171 Week4 Tags
Gilbert Guerrero
ย 
Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)Responsive Web Design (April 18th, Los Angeles)
Responsive Web Design (April 18th, Los Angeles)
Thinkful
ย 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
stephy123123
ย 

Similar to Thinkful - Frontend Crash Course - Intro to HTML/CSS (20)

Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)
Thinkful
ย 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
Peter Kaizer
ย 
Css
CssCss
Css
Sumit Gupta
ย 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
ย 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
Syed Sami
ย 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Erin M. Kidwell
ย 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
ssuser568d77
ย 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
Ahmed Haque
ย 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
ย 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
ย 
Web
WebWeb
Web
Sreejith Ramakrishnan
ย 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
ย 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
ย 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
Toni Kolev
ย 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
ย 
Introduction to Wed System And Technologies (1).pptx
Introduction to Wed System And Technologies (1).pptxIntroduction to Wed System And Technologies (1).pptx
Introduction to Wed System And Technologies (1).pptx
AmeerHamza183012
ย 
HTML+CSS: how to get started
HTML+CSS: how to get startedHTML+CSS: how to get started
HTML+CSS: how to get started
Dimitris Tsironis
ย 
BITM3730 9-20.pptx
BITM3730 9-20.pptxBITM3730 9-20.pptx
BITM3730 9-20.pptx
MattMarino13
ย 
html and css- 23091 3154 458-5d4341a0.ppt
html and css- 23091 3154 458-5d4341a0.ppthtml and css- 23091 3154 458-5d4341a0.ppt
html and css- 23091 3154 458-5d4341a0.ppt
ahoveida
ย 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
Melvin John
ย 
Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)Code & Design Your First Website (Downtown Los Angeles)
Code & Design Your First Website (Downtown Los Angeles)
Thinkful
ย 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
Peter Kaizer
ย 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
ย 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
Syed Sami
ย 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Girl Develop It Cincinnati: Intro to HTML/CSS Class 2
Erin M. Kidwell
ย 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
ssuser568d77
ย 
Intro To Twitter Bootstrap
Intro To Twitter BootstrapIntro To Twitter Bootstrap
Intro To Twitter Bootstrap
Ahmed Haque
ย 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
ย 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
ย 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
ย 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
ย 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
Toni Kolev
ย 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
ย 
Introduction to Wed System And Technologies (1).pptx
Introduction to Wed System And Technologies (1).pptxIntroduction to Wed System And Technologies (1).pptx
Introduction to Wed System And Technologies (1).pptx
AmeerHamza183012
ย 
HTML+CSS: how to get started
HTML+CSS: how to get startedHTML+CSS: how to get started
HTML+CSS: how to get started
Dimitris Tsironis
ย 
BITM3730 9-20.pptx
BITM3730 9-20.pptxBITM3730 9-20.pptx
BITM3730 9-20.pptx
MattMarino13
ย 
html and css- 23091 3154 458-5d4341a0.ppt
html and css- 23091 3154 458-5d4341a0.ppthtml and css- 23091 3154 458-5d4341a0.ppt
html and css- 23091 3154 458-5d4341a0.ppt
ahoveida
ย 
Introduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for DevelopersIntroduction to Bootstrap: Design for Developers
Introduction to Bootstrap: Design for Developers
Melvin John
ย 
Ad

More from TJ Stalcup (20)

Intro to JavaScript - Thinkful DC
Intro to JavaScript - Thinkful DCIntro to JavaScript - Thinkful DC
Intro to JavaScript - Thinkful DC
TJ Stalcup
ย 
Frontend Crash Course
Frontend Crash CourseFrontend Crash Course
Frontend Crash Course
TJ Stalcup
ย 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data Science
TJ Stalcup
ย 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data Science
TJ Stalcup
ย 
Build Your Own Website - Intro to HTML & CSS
Build Your Own Website - Intro to HTML & CSSBuild Your Own Website - Intro to HTML & CSS
Build Your Own Website - Intro to HTML & CSS
TJ Stalcup
ย 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
TJ Stalcup
ย 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
TJ Stalcup
ย 
Predict the Oscars using Data Science
Predict the Oscars using Data SciencePredict the Oscars using Data Science
Predict the Oscars using Data Science
TJ Stalcup
ย 
Thinkful DC - Intro to JavaScript
Thinkful DC - Intro to JavaScriptThinkful DC - Intro to JavaScript
Thinkful DC - Intro to JavaScript
TJ Stalcup
ย 
Data Science Your Vacation
Data Science Your VacationData Science Your Vacation
Data Science Your Vacation
TJ Stalcup
ย 
Data Science Your Vacation
Data Science Your VacationData Science Your Vacation
Data Science Your Vacation
TJ Stalcup
ย 
Build a Game with Javascript
Build a Game with JavascriptBuild a Game with Javascript
Build a Game with Javascript
TJ Stalcup
ย 
Thinkful DC FrontEnd Crash Course - HTML & CSS
Thinkful DC FrontEnd Crash Course - HTML & CSSThinkful DC FrontEnd Crash Course - HTML & CSS
Thinkful DC FrontEnd Crash Course - HTML & CSS
TJ Stalcup
ย 
Build Your Own Instagram Filters
Build Your Own Instagram FiltersBuild Your Own Instagram Filters
Build Your Own Instagram Filters
TJ Stalcup
ย 
Choosing a Programming Language
Choosing a Programming LanguageChoosing a Programming Language
Choosing a Programming Language
TJ Stalcup
ย 
Frontend Crash Course
Frontend Crash CourseFrontend Crash Course
Frontend Crash Course
TJ Stalcup
ย 
Thinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSSThinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
ย 
Thinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSSThinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
ย 
Build a Virtual Pet with JavaScript
Build a Virtual Pet with JavaScriptBuild a Virtual Pet with JavaScript
Build a Virtual Pet with JavaScript
TJ Stalcup
ย 
Intro to Javascript
Intro to JavascriptIntro to Javascript
Intro to Javascript
TJ Stalcup
ย 
Intro to JavaScript - Thinkful DC
Intro to JavaScript - Thinkful DCIntro to JavaScript - Thinkful DC
Intro to JavaScript - Thinkful DC
TJ Stalcup
ย 
Frontend Crash Course
Frontend Crash CourseFrontend Crash Course
Frontend Crash Course
TJ Stalcup
ย 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data Science
TJ Stalcup
ย 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data Science
TJ Stalcup
ย 
Build Your Own Website - Intro to HTML & CSS
Build Your Own Website - Intro to HTML & CSSBuild Your Own Website - Intro to HTML & CSS
Build Your Own Website - Intro to HTML & CSS
TJ Stalcup
ย 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
TJ Stalcup
ย 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
TJ Stalcup
ย 
Predict the Oscars using Data Science
Predict the Oscars using Data SciencePredict the Oscars using Data Science
Predict the Oscars using Data Science
TJ Stalcup
ย 
Thinkful DC - Intro to JavaScript
Thinkful DC - Intro to JavaScriptThinkful DC - Intro to JavaScript
Thinkful DC - Intro to JavaScript
TJ Stalcup
ย 
Data Science Your Vacation
Data Science Your VacationData Science Your Vacation
Data Science Your Vacation
TJ Stalcup
ย 
Data Science Your Vacation
Data Science Your VacationData Science Your Vacation
Data Science Your Vacation
TJ Stalcup
ย 
Build a Game with Javascript
Build a Game with JavascriptBuild a Game with Javascript
Build a Game with Javascript
TJ Stalcup
ย 
Thinkful DC FrontEnd Crash Course - HTML & CSS
Thinkful DC FrontEnd Crash Course - HTML & CSSThinkful DC FrontEnd Crash Course - HTML & CSS
Thinkful DC FrontEnd Crash Course - HTML & CSS
TJ Stalcup
ย 
Build Your Own Instagram Filters
Build Your Own Instagram FiltersBuild Your Own Instagram Filters
Build Your Own Instagram Filters
TJ Stalcup
ย 
Choosing a Programming Language
Choosing a Programming LanguageChoosing a Programming Language
Choosing a Programming Language
TJ Stalcup
ย 
Frontend Crash Course
Frontend Crash CourseFrontend Crash Course
Frontend Crash Course
TJ Stalcup
ย 
Thinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSSThinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
ย 
Thinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSSThinkful FrontEnd Crash Course - HTML & CSS
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
ย 
Build a Virtual Pet with JavaScript
Build a Virtual Pet with JavaScriptBuild a Virtual Pet with JavaScript
Build a Virtual Pet with JavaScript
TJ Stalcup
ย 
Intro to Javascript
Intro to JavascriptIntro to Javascript
Intro to Javascript
TJ Stalcup
ย 
Ad

Recently uploaded (20)

Hands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordDataHands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordData
Lynda Kane
ย 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
ย 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
ย 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
ย 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
ย 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
ย 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
ย 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
ย 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
ย 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
ย 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
ย 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
ย 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
ย 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
ย 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
ย 
Hands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordDataHands On: Create a Lightning Aura Component with force:RecordData
Hands On: Create a Lightning Aura Component with force:RecordData
Lynda Kane
ย 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
ย 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
ย 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
ย 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
ย 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
ย 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
ย 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
ย 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
ย 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
ย 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
ย 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
ย 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
ย 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
ย 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
ย 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
ย 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
ย 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
ย 
Learn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step GuideLearn the Basics of Agile Development: Your Step-by-Step Guide
Learn the Basics of Agile Development: Your Step-by-Step Guide
Marcel David
ย 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
ย 

Thinkful - Frontend Crash Course - Intro to HTML/CSS

  • 1. Frontend Crash Course Intro to HTML/CSS March 2017 http://bit.ly/tf-html-css-dc WiFi - In3-Guest
  • 2. About me โ€ข Tyler Brewerโ€จ โ€ข Web Developer @ Excella Consultingโ€จ โ€ข Thinkful Alumniโ€จ โ€ข Former Graphic Designer
  • 3. About us Thinkful prepares students for web development & data science jobs with 1-on-1 mentorship programs
  • 4. About you - โ€˜round the room โ€ข Whatโ€™s your name? โ€ข Whatโ€™s your programming background? โ€ข Whatโ€™s your goal?
  • 5. Goals โ€ข Core concepts of HTML/CSS to build websites โ€ข Drills to practice those concepts โ€ข Build your ๏ฌrst website โ€ข Get more comfortable learning to code โ€ข Take home challenges
  • 6. How the web works Type a URL from a client (e.g. google.com) Browser communicates with DNS server to ๏ฌnd IP address Browser sends an HTTP request asking for speci๏ฌc ๏ฌles Browser receives those ๏ฌles and renders them as a website
  • 7. Clients / Servers Client (sends requests) Frontend Developer Manages what user sees Server (sends response) Backend Developer Manage what app does
  • 8. How it relates to what weโ€™re doing When we write HTML & CSS today, we are creating those ๏ฌles that are stored on a server which are then sent and then rendered by your browser
  • 9. Setup http://bit.ly/tf-html-classroom Normally to write our code weโ€™d use a text editor or an integrated development environment (IDE) But since weโ€™re learning weโ€™re going to write our code in a website to skip the setup, see our results immediately, and make it easy for us to track progress
  • 10. Letโ€™s start with HTML HTML is the content and structure of a webpage Itโ€™s the skeleton of your website
  • 11. By itself, HTML is ugly
  • 12. Weโ€™ll make it pretty later We will start with just HTML โ€” weโ€™ll then add a Cascading Style Sheet (CSS) ๏ฌle to โ€œstyleโ€ our website. More on that laterโ€ฆ
  • 13. Your ๏ฌrst website Copy this code (donโ€™t worry if you donโ€™t understand it) <html> <body> <h1>Hello world!</h1> </body> </html>
  • 14. Key HTML concepts โ€ข Tags โ€ข Elements โ€ข Attributes
  • 15. HTML tags Every tag starts with a โ€œless thanโ€ sign and ends with a โ€œgreater thanโ€ sign <html> #this is an HTML opening tag <body> #this is a body opening tag <h1>Hello world!</h1> #this is set of H1 tags </body> #this is a body closing tag </html> #this is an HTML closing tag
  • 16. More about tags โ€ข There are opening tags and closing tags โ€” closing tags have a backslash before the tag name (</html> versus <html>) โ€ข Tags instruct a browser about the structure of our website โ€ข There are hundreds of built-in tags though youโ€™ll use the same few a lot
  • 17. Non-exhaustive list of HTML tags โ€ข <html> #html tags wrap your entire page โ€ข <head> #head tags holds info about the page โ€ข <body> #body tags wrap around your content โ€ข <h1> #signi๏ฌes the largest headline (through h6) โ€ข <p> #wraps a paragraph of writing โ€ข <div> #div tags are generic container tags โ€ข <a> #anchor tags for text to be a link โ€ข <ul><li> #unordered list of items โ€ข <button> #this is a button
  • 18. HTML elements HTML elements usually consist of an opening tag, closing tag, and some content <html> #html element starts here <body> #body element starts here <h1>Hello world!</h1> #this is an HTML element </body> #body element ends here </html> #html element ends here
  • 19. More about elements Some consist of just a self-closing tag <img src=โ€œhttp://i.imgur.com/Th5404r.jpg">
  • 20. A note about <div>โ€™s We use <div> tags to separate sections of our site. This will allow for sophisticated styling. Itโ€™s a good habit to โ€œwrapโ€ most sections into a <div> <div> <h1>Hello world!</h1> </div>
  • 21. HTML attributes HTML attributes set properties on an element โ€” the are attached in the opening tag <a href=โ€œhttps://somewhere.com">This is a link</a> href is an attribute that sets the destination of a link <h1 class=โ€œheadlineโ€>This is a headline</h1> class is one attribute that identi๏ฌes element (for CSS & Javascript)
  • 22. HTML Challenges Complete the following assignments on http://bit.ly/tf-html-classroom โ€ข About me โ€ข Images โ€ข Links
  • 23. What is CSS? Cascading Style Sheets (CSS) interact with your HTML to determine the visual presentation of your webpages
  • 24. CSS example p { color: red; font-size: 36px; }
  • 25. CSS solves two problems โ€ข Visual presentation of each element โ€ข Layout of elements
  • 26. Key CSS concepts โ€ข Selectors โ€ข Property โ€ข Value โ€ข Declaration / Declaration Block
  • 27. CSS selectors โ€ข Determine HTML elements to target for styles โ€ข Can target tags, classes, idโ€™s and many more! โ€ข Selectors can be combined
  • 28. Example selectors p (selects all paragraph tags) .name (selects HTML elements with class โ€œnameโ€) p.name (selects paragraph tags with class โ€œnameโ€)
  • 29. CSS properties Determines aspect of an elementโ€™s appearance to change โ€ข color (set the font color) โ€ข font-family (sets main and backup typefaces) โ€ข background-image (sets background image) โ€ข height (sets the height of an element)
  • 30. More on CSS properties โ€ข Each property has a default value โ€” when you write CSS, you override that default with a new value โ€ข There are lots of CSS properties! For a full list see http://www.htmldog.com/references/css/properties/
  • 31. CSS values Determines the aspect of the elementโ€™s appearance we wish to change โ€ข color: red, blue, green, #CCCCCC acceptable values for the color property โ€ข font-family: helvetica, arial, sans-serif acceptable values for the font-family property โ€ข background-image: url(โ€œimageFile.jpg") looks for a URL value for image ๏ฌle โ€ข height: 40px, 50% set in pixels or percentage of container height
  • 32. Declarations and declaration blocks This is a declaration block containing two declarations p { color: red; font-size: 36px; }
  • 33. CSS challenges Complete the following assignments on http://bit.ly/tf-html-classroom โ€ข Selectors โ€ข Classes
  • 34. Linking CSS to HTML โ€ข Normally youโ€™d have one HTML ๏ฌle for each webpage (for example, home.html and pro๏ฌle.html), and a single CSS ๏ฌle for the whole websiteโ€™s styles (styles.css) โ€ข To link your stylesheet to your HTML, youโ€™d insert the following line into the <head> section of your HTML webpage โ€ข <link rel="stylesheet" type="text/css" href="theme.css">
  • 35. Learning to learn โ€ข Google is your friend! โ€ข Practice at the edge of your abilities โ€ข Ignore the hot new thing. Instead go deep with one technology
  • 36. Ways to keep learningLevelofsupport Learning methods
  • 37. 1-on-1 mentorship enables ๏ฌ‚exibility 325+ mentors with an average of 10 years of experience in the ๏ฌeld
  • 39. Our results Job Titles after GraduationMonths until Employed
  • 40. Try us out! โ€ข Initial 2-week trial includes six mentor sessions for $50 โ€ข Learn HTML/CSS and JavaScript โ€ข Option to continue onto web development bootcamp โ€ข Talk to me (or email tj@thinkful.com) if youโ€™re interested