ahsrafiq / BAFL-Layout-Assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Layout for Developers

Objectives

  • Use Flexbox to create a static version of a web app
  • Incorporate Font Awesome icons in a web app
  • Use a palette creation tool to generate a color scheme
  • Use placeholder images to create layout without final artwork
  • Use placeholder text to mockup layout before content is final
  • Use CSS to apply basic styles
  • Structure HTML to take advantage of flexbox layout

Rationale

In waterfall, specifications would be written, work would be given to developers, QA, designers, and others, and teams would wait and be blocked by content.

Agile requires developers to be able to perform all roles. This does not mean that a developer needs to be an artist - they merely need to stub a UI that looks non-horrible.

This lesson teaches developers the basics of layout and using various 3rd party tools to make the process go quickly.

Instructions

  1. Fork this repo
  2. Clone this repo
  3. Open index.html in your favorite (Chrome) browser
  4. Observe the initial layout
  5. Follow the steps below to mimic the screenshots one-step at a time
  6. Commit along the way
  7. Push!

Step 1: High-Level Structure

The initial decision has been made to start with navbar and body. Next you must decide how to structure your HTML in the body to mimic this 3 column layout:

Step 1

Note: It can be helpful to add colorful borders to each main section of your HTML to help visualize them while you edit their layout.

Step 2: Use Flexbox to Correct Proportions

Step 2

Step 3: Add Mocked Content

Often you will need to mock content. Fortunately many good resources exist for this purpose.

Step 3

Step 4: Add Content to Smaller Components

Step 4

Step 5: Use Flexbox to Customize Small Component Layout

Step 5

Step 6: Choose Color Palette and Edit Box Model

Step 6

Wash, rinse, repeat

A real website will be more complicated: instead of one HTML file you will have many components, the nav bar will have sub-navs, etc.

However, if you follow this "outside-in" approach you can simply repeat the process you have followed above to style an arbitrarily complicated layout.

Take these tools with you, and never be the one using #FF00FF again!

Stretch

Pick a popular web-app and try to replicate it:

  • Facebook
  • LinkedIn
  • Instagram
  • Your favorite app!

Use the techniques you have learned above to style an arbitrarily complicated app!

About


Languages

Language:HTML 76.7%Language:CSS 23.3%