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

Intro to Web Development

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Frank Wu
February 22, 2014

Intro to Web Development

Workshop given at MIT Blueprint 2014

Frank Wu

February 22, 2014

Transcript

57 slides
  1. HTML <html>! ! <head>! ! ! <title>My Website</title>! ! </head>!

    ! <body>! ! ! <h1>Main heading</h1>! ! ! <p>Hi! Welcome!</p>! ! </body>! </html>
  2. HTML <html>! ! <head>! ! ! <title>My Website</title>! ! </head>!

    ! <body>! ! ! <h1>Main heading</h1>! ! ! <p>Hi! Welcome! <a href=“http://! ! ! ! google.com”>You should check! ! ! ! out Google.</a>! ! ! </p>! ! </body>! </html>
  3. HTML <html>! ! <head>! ! ! <title>My Website</title>! ! !

    <link rel="stylesheet" href=! ! ! "styles.css" />! ! </head>! ! <body>! ! ! <h1>Main heading</h1>! ! ! <p>Hi! Welcome!</p>! ! </body>! </html>
  4. <html>! <head>! <title>My Website</title>! <link rel="stylesheet" href="styles.css" />! </head>! <body>!

    <h1>Blueprint is awesome!</h1>! <p>Hi! Welcome, I'm learning HTML and CSS. Built by Frank at <a href="http:// blueprint.hackmit.org/">Blueprint 2014.</a></p>! </body>! </html> HTML
  5. CSS body {! background: #d9d9d9;! font-family: "Helvetica Neue",! Helvetica, Arial,

    Sans-serif;! text-align: center;! }! ! h1 {! font-size: 50px;! }
  6. CSS body {! background: #d9d9d9;! font-family: "Helvetica Neue",! Helvetica, Arial,

    Sans-serif;! text-align: center;! }! ! h1 {! font-size: 50px;! }
  7. HTML <html>! <head>! <title>My Website</title>! <link rel="stylesheet" href="styles.css" />! </head>!

    <body>! <div class="top">! <h1>Blueprint is awesome!</h1>! <p>Hi! Welcome, I'm learning HTML and CSS. Built by Frank at <a href="http://blueprint.hackmit.org/">Blueprint 2014.</a></p>! </div>! </body>! </html>
  8. HTML <html>! <head>! <title>My Website</title>! <link rel="stylesheet" href="styles.css" />! </head>!

    <body>! <div class="wrapper">! <div class="top">! <h1>Blueprint is awesome!</h1>! <p>Hi! Welcome, I'm learning HTML and CSS. Built by Frank at <a href="http://blueprint.hackmit.org/">Blueprint 2014.</a></p>! </div>! </div>! </body>! </html>
  9. HTML <body>! <div class="wrapper">! <div class=“top">! ! ! …! </div>!

    ! <div class="about">! <div class="column" id="column1">! <h2>Feature 1</h2>! </div>! <div class="column" id="column2">! <h2>Feature 2</h2>! </div>! <div class="column" id="column3">! <h2>Feature 3</h2>! </div>! </div>! </div>! </body>
  10. CSS .column {! background-color: #CE4D4F;! color: #263039;! height: 210px;! width:

    260px;! float: left;! padding: 20px 15px;! text-align: center;! }
  11. HTML <body>! <div class="wrapper">! <div class=“top">! …! </div>! <div class=“about">!

    …! </div>! <div class="bottom">! <h2>You'll love our awesome features.</h2>! </div>! </div>! </body>
  12. CSS .bottom {! color: #D7E0E6;! background-color: #092F4B;! margin: 15px 0

    0 0;! padding: 50px;! text-align: center;! margin: 15px 0 30px 0;! }

More Decks by Frank Wu

Other Decks in Programming