Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
front-end 101
Search
codebar
July 29, 2016
Education
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
front-end 101
introduction course for front-end development.
codebar
July 29, 2016
More Decks by codebar
See All by codebar
wordpress talk
codebar
0
44
AngularJS Fundamentals
codebar
0
200
Getting Started With Git
codebar
0
89
Codebar pitch in JumpstartPakistan
codebar
0
61
CodeBar Launch
codebar
0
280
Other Decks in Education
See All in Education
Liburd and Stoll Farrell "Copyright Essentials From A to AI: A 2026 NISO Training Series, Session Four: Copyright in Pop Culture and Digital Media"
baltimoreniso
0
130
Introduction - Lecture 1 - Web Technologies (1019888BNR)
signer
PRO
0
6.6k
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 5
hiola
0
12k
Padlet opetuksessa
matleenalaakso
12
16k
新型コロナ禍をともに「楽しみながら開いていこう!」 :中門 吉松 会員(2720 Japan O.K.ロータリーEクラブ)卓話 : 2026.10.19.例会・卓話
2720japanoke
0
720
Invest Early, Build Together
rashwhitman
0
990
Digijulkaisut
matleenalaakso
1
10k
Longitudinal research
aisw77
0
420
Liburd and Stoll Farrell "Copyright Essentials From A to AI: A 2026 NISO Training Series, Session Three: Exceptions for Libraries"
baltimoreniso
0
120
2026年度秋学期 統計学 講義の進め方と成績評価について (2026. 9. 28)
akiraasano
PRO
0
270
Before You Scale: Understand the Theory Behind the Simulation
pfn
PRO
1
200
Session 3 - Diplomasi
adeputra13
0
390
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
What's in a price? How to price your products and services
michaelherold
247
13k
How STYLIGHT went responsive
nonsquared
100
6.4k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
エンジニアに許された特別な時間の終わり
watany
109
250k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
A Tale of Four Properties
chriscoyier
163
24k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
330
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
Transcript
Front-End Development 101 HTML & CSS Najam Sikander Awan @najamsikander
Khurram Raftaz @Khurramraftaz codebarpk.com
Examples and Discussion Examples on github http://bit.ly/GGolFl
ChatRoom https://gitter.im/codebarpak/frontend
Agenda History For Whom Students Back-end
Devs Front-end Devs without basics Why Html will stay and expand Easy to start HTML /CSS Future Desktop Development Mobile Development
1989 1990 1991 Berners-Lee
Evolution Of Web http://www.evolutionoftheweb.com/?hl=en- gb#/evolution/day
None
Content/Data: html Presentation: CSS Behavior: Javascript
Anatomy Of A Web Page
Bad Tags B big center font i small strike
u
Doc Types <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> http://www.w3.org/QA/2002/04/valid-dtd-list.html demo
Minimum Tools for Development Text Editor Browser
Web developer toolbar Firebug / chrome dev tools / IE dev tools JsFiddle Cross Browser Testing IE Tester [IE6+] Chrome Firefox Opera Safari
Semantics Elements Inline Elements Block Level Elements
Inline-Block Elements Attributes
Validation Valid Html Valid CSS
None
None
None
Assignment Create your cv in Html One column
layout Doc type strict IE 6 to all modern browsers Choose tags carefully
None
Adding Style In-line External <link rel="stylesheet" type="text/css"
href="/css/styles.css" /> @import url('/css/styles.css'); In-Page Browser styles User styles
Selectors Group Class Id Pseudo-Classes
A:visited, A:hover Pseudo-Elements Content on fly Clearing float p:first-line CSS3 Selectors
Universal selector * { }
Element type selector body { }
Class selector .copy { }
Id selector #copy { }
Attribute selector Input [type=“submit”]{ }
Group Selector h1, .h1{ Font-size:60px; }
Combinations Li a img{ margin: 0 10px 0 10px; }
Li > a{ margin: 0 10px 0 10px; } ul + p{ background: yellow; }
Pseudo - Classes tr:first-child { color:black; } li:first-child { margin:
0; }
Pseudo - Elements p:first-letter { font-size: 40px; } p:first-line {
color: green; }
None
Browser Styles Browser default style sheets User Style
sheets – firefox plugin CSS Reset Box Model
None
Box-sizing: Content box Padding box Margin box
Border box demo
CSS: Typography Color of page elements Color for
links Font styling Family Color Size Line height Letter spacing Word spacing demo
CSS: Background Images Specify background Background positions
Background repeat Fixed or Scroll demo
Floats
http://www.yuiblog.com/blog/2010/09/27/clearfix -reloaded-overflowhidden-demystified demo
Display Inline Block Inline-block
Positioning Fixed Relative Absolute Static
Z-index demo
Fixed
Relative
Absolute
@stubbornella @jeresig @shanselman @addyosmani @elijahmanor @paul_irish @rmurphey @robconery @SlexAxton
Resources http://net.tutsplus.com/ http://alistapart.com/ http://www.smashingmagazine.com/ http://css-tricks.com/
http://css-weekly.com/ http://html5weekly.com/ http://diveintohtml5.info/ http://www.html5rocks.com/en/
None