Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
front-end 101
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
codebar
July 29, 2016
Education
300
0
Share
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
37
AngularJS Fundamentals
codebar
0
190
Getting Started With Git
codebar
0
80
Codebar pitch in JumpstartPakistan
codebar
0
59
CodeBar Launch
codebar
0
280
Other Decks in Education
See All in Education
The Art & Science of Elearning
tmiket
1
190
Fulbright DAI 2025 學人經驗分享
joannie
0
820
[2026前期火5] 論理学(京都大学文学部 前期 第1回)「ハルシネーションを外部世界との対応を考えずに見分ける方法」
yatabe
0
890
演習:Gitの応用操作 / 05-git-advanced
kaityo256
PRO
1
280
Google AI Studio 開発者向け完全ガイド プロトタイピ まで ングからReactアプリ 構築・マルチモーダル活用
mickey_kubo
1
140
Implicit and Cross-Device Interaction - Lecture 10 - Next Generation User Interfaces (4018166FNR)
signer
PRO
2
2.2k
AWS Certified Generative AI Developer - Professional Beta 不合格体験記
amarelo_n24
1
210
SSH_handshake_easy_explain
kenbo
0
970
0506
cbtlibrary
0
120
Measuring what matters
jonoalderson
0
270
Protecting Patrons with Digital Vendors
dsalo
0
110
勝手にCULTIBASE で広げよう、探究の輪! - CULTIVAL 2026
hiroc_sk
1
170
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Deep Space Network (abreviated)
tonyrice
0
130
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
530
Between Models and Reality
mayunak
3
280
So, you think you're a good person
axbom
PRO
2
2k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
190
WCS-LA-2024
lcolladotor
0
560
Information Architects: The Missing Link in Design Systems
soysaucechin
0
910
Believing is Seeing
oripsolob
1
120
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
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