SlideShare a Scribd company logo
1 of 31
Stepping into the
Front End
Part 1: HTML & CSS
What is Front End
Engineering?
Look
What is Front End
Engineering?
Feel
How can I become one?
Good Design Sense
Great Programming Skill
Awesome Attention to Detail
What Front End Engineers
DO!!!
Semantic HyperText Markup Language (HTML) for
structure
Cascading Style Sheets (CSS) for presentation
JavaScript (JS) for behavior and interaction
Cross browser compatibility
HTML
HyperText Markup Language
HTML
STRUCTURE
&
CONTENT
CSS
Cascaded Style Sheet
CSS
LAYOUT
&
PRESENTATION
JS
JavaScript
JS
BEHAVIOUR
&
INTERACTION
Best Practices
… are for best people
Why Best Practices?
UNDERSTANDABILITY
&
MANAGEABILITY
Start with a Logical
Structure
Don’t wrap unnecessary
DIVs
<div><h1>hello</h1></div>
Know your Tools
Properties
box-sizing: border-box
outline: none
margin: auto
display: flex
min/max-width: 10vh/vw/vmax/vmin/calc(20vw-
10px)
background-size: cover
Use “reset”
Eric Meyer’s “Reset CSS” 2.0
cssreset.com
Keep Reference
/*
background color: #0f0f0f
text color: #000000
link color: #d4d4d4
font size: 12px
*/
Stay Organized
/* Resets and overrides */
/* Typography */
/* Main Layout */
/* Navigation */
/* Form elements */
/* Miscellaneous */
Meaningful Naming
Conventions
.xyz {}
.post-list-container {}
.post_container {}
.post-title {}
.post_info {}
.post-body {}
“-” for Class, “_” for ID
#post_list_container {}
.post-container {}
.post-title {}
.post-info {}
.post-body {}
Avoid Extra Selectors
body #post_list_container {} /* bad */
#post_list_container {} /* good */
Reuse, don’t Repeat
.post-title { font-size: 14px; }
.post-body { font-size: 14px; }
.post-title,
.post-body { font-size: 14px; }
Create Generic Classes
.box {}
.pull-right {}
.img-circle {}
Use Multiple Classes
class="pull-right img-circle"
Use CSS Shorthands
margin-top: 0
margin-right: 10px
margin-bottom: 0
margin-left: 10px /* bad */
margin: 0 10px /* good */
margin: 0 auto /* to center */
Use External, never Inline:
WHY?
Separate content from presentation
Easy to organize, manage & modify
Minify, cache and other optimizations
Use Multiple Files (if
necessary)
reset.css
layout.css
utility.css
form.css
actions.js
animations.js
Love DevTools (like
Facebook)
Other Resources
https://google.github.io/styleguide/htmlcssguide.xml
https://google.github.io/styleguide/javascriptguide.xml
Happy CODING ;)

More Related Content

Viewers also liked

ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6Itsadathan
 
Unit 1 AO1b Micro analysis pt2
Unit 1 AO1b Micro analysis pt2Unit 1 AO1b Micro analysis pt2
Unit 1 AO1b Micro analysis pt2Adam Green
 
Terceiro segredo de Fatima revelado
Terceiro segredo de Fatima reveladoTerceiro segredo de Fatima revelado
Terceiro segredo de Fatima reveladoTupi Taba
 
FIRST AID RESEARCH PROJECT
FIRST AID RESEARCH PROJECTFIRST AID RESEARCH PROJECT
FIRST AID RESEARCH PROJECTAmb Steve Mbugua
 
2016 ILDS Annual Report & Plan
2016 ILDS Annual Report & Plan2016 ILDS Annual Report & Plan
2016 ILDS Annual Report & PlanIllinois workNet
 
Griglia di lettura - tempo libero vissuto e tempo libero sognato
Griglia di lettura - tempo libero vissuto e tempo libero sognatoGriglia di lettura - tempo libero vissuto e tempo libero sognato
Griglia di lettura - tempo libero vissuto e tempo libero sognatoAcisjf Parma
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | IntroductionJohnTaieb
 
Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2
Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2
Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2Digipolis Antwerpen
 
05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล
05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล
05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูลNattipong Siangyen
 
Scott Hahn Resume
Scott Hahn ResumeScott Hahn Resume
Scott Hahn ResumeScott Hahn
 

Viewers also liked (14)

ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6
 
Unit 1 AO1b Micro analysis pt2
Unit 1 AO1b Micro analysis pt2Unit 1 AO1b Micro analysis pt2
Unit 1 AO1b Micro analysis pt2
 
CGM Studio Datasheet
CGM Studio DatasheetCGM Studio Datasheet
CGM Studio Datasheet
 
Terceiro segredo de Fatima revelado
Terceiro segredo de Fatima reveladoTerceiro segredo de Fatima revelado
Terceiro segredo de Fatima revelado
 
FIRST AID RESEARCH PROJECT
FIRST AID RESEARCH PROJECTFIRST AID RESEARCH PROJECT
FIRST AID RESEARCH PROJECT
 
2016 ILDS Annual Report & Plan
2016 ILDS Annual Report & Plan2016 ILDS Annual Report & Plan
2016 ILDS Annual Report & Plan
 
7 eng1
7 eng17 eng1
7 eng1
 
Griglia di lettura - tempo libero vissuto e tempo libero sognato
Griglia di lettura - tempo libero vissuto e tempo libero sognatoGriglia di lettura - tempo libero vissuto e tempo libero sognato
Griglia di lettura - tempo libero vissuto e tempo libero sognato
 
Professional Summary(1)
Professional Summary(1)Professional Summary(1)
Professional Summary(1)
 
Front End Development | Introduction
Front End Development | IntroductionFront End Development | Introduction
Front End Development | Introduction
 
Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2
Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2
Meetup 25/4/2016 - Functionele IoT architectuur Antwerpen v2
 
05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล
05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล
05 ภาษาที่ใช้ในระบบการจัดการฐานข้อมูล
 
Jobnocturne 11 januari 2017
Jobnocturne 11 januari 2017Jobnocturne 11 januari 2017
Jobnocturne 11 januari 2017
 
Scott Hahn Resume
Scott Hahn ResumeScott Hahn Resume
Scott Hahn Resume
 

Similar to Stepping into the front end: Part 1

Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX DesignersAshlimarie
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
 
A Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI DeveloperA Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI Developernariyaravi
 
Web Building Blocks
Web Building BlocksWeb Building Blocks
Web Building Blocksjoegilbert
 
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
Best Web Development Courses - Classes  in Pune | Web Development Classes in ...Best Web Development Courses - Classes  in Pune | Web Development Classes in ...
Best Web Development Courses - Classes in Pune | Web Development Classes in ...Swati Pardeshi
 
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
Best Web Development Courses - Classes  in Pune | Web Development Classes in ...Best Web Development Courses - Classes  in Pune | Web Development Classes in ...
Best Web Development Courses - Classes in Pune | Web Development Classes in ...Swati Pardeshi
 
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In BanglaWeb Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In BanglaStack Learner
 
Modern ux-workflow-presentation
Modern ux-workflow-presentationModern ux-workflow-presentation
Modern ux-workflow-presentationBrian Akpa
 
HTML+CSS.pptx
HTML+CSS.pptxHTML+CSS.pptx
HTML+CSS.pptxNiceName6
 
Worry free web development
Worry free web developmentWorry free web development
Worry free web developmentEstelle Weyl
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application developmentzonathen
 

Similar to Stepping into the front end: Part 1 (20)

Web Development for UX Designers
Web Development for UX DesignersWeb Development for UX Designers
Web Development for UX Designers
 
VAP ppt.pptx
VAP ppt.pptxVAP ppt.pptx
VAP ppt.pptx
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
 
Css
CssCss
Css
 
A Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI DeveloperA Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI Developer
 
Php ppt
Php pptPhp ppt
Php ppt
 
Rakshat bhati
Rakshat bhatiRakshat bhati
Rakshat bhati
 
David Weliver
David WeliverDavid Weliver
David Weliver
 
Overview of PHP and MYSQL
Overview of PHP and MYSQLOverview of PHP and MYSQL
Overview of PHP and MYSQL
 
web devs ppt.ppsx
web devs ppt.ppsxweb devs ppt.ppsx
web devs ppt.ppsx
 
Building Web Interfaces
Building Web InterfacesBuilding Web Interfaces
Building Web Interfaces
 
Web Building Blocks
Web Building BlocksWeb Building Blocks
Web Building Blocks
 
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
Best Web Development Courses - Classes  in Pune | Web Development Classes in ...Best Web Development Courses - Classes  in Pune | Web Development Classes in ...
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
 
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
Best Web Development Courses - Classes  in Pune | Web Development Classes in ...Best Web Development Courses - Classes  in Pune | Web Development Classes in ...
Best Web Development Courses - Classes in Pune | Web Development Classes in ...
 
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In BanglaWeb Design & UI/UX Bootcamp [Online & Offline] In Bangla
Web Design & UI/UX Bootcamp [Online & Offline] In Bangla
 
Modern ux-workflow-presentation
Modern ux-workflow-presentationModern ux-workflow-presentation
Modern ux-workflow-presentation
 
HTML+CSS.pptx
HTML+CSS.pptxHTML+CSS.pptx
HTML+CSS.pptx
 
Worry free web development
Worry free web developmentWorry free web development
Worry free web development
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
 
Web designing course bangalore
Web designing course bangaloreWeb designing course bangalore
Web designing course bangalore
 

Recently uploaded

CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 

Recently uploaded (20)

CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 

Stepping into the front end: Part 1