Giter Club home page Giter Club logo

layout-for-developers's Introduction

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!

layout-for-developers's People

Contributors

asharmehmood-2211004khicnd avatar rachelkoldenhoven avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.