Upgrade to Pro — share decks privately, control downloads, hide ads and more …

front-end 101

codebar
July 29, 2016

front-end 101

introduction course for front-end development.

codebar

July 29, 2016
Tweet

More Decks by codebar

Other Decks in Education

Transcript

  1. Examples and Discussion  Examples on github  http://bit.ly/GGolFl 

    ChatRoom  https://gitter.im/codebarpak/frontend
  2. 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
  3. 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
  4. 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
  5. Assignment  Create your cv in Html  One column

    layout  Doc type strict  IE 6 to all modern browsers  Choose tags carefully
  6. 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
  7. Selectors  Group  Class  Id  Pseudo-Classes 

    A:visited, A:hover  Pseudo-Elements  Content on fly  Clearing float  p:first-line  CSS3 Selectors
  8. Combinations Li a img{ margin: 0 10px 0 10px; }

    Li > a{ margin: 0 10px 0 10px; } ul + p{ background: yellow; }
  9. Browser Styles  Browser default style sheets  User Style

    sheets – firefox plugin  CSS Reset  Box Model
  10. CSS: Typography  Color of page elements  Color for

    links  Font styling  Family  Color  Size  Line height  Letter spacing  Word spacing demo
  11. 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/