Giter VIP home page Giter VIP logo

m1-3-htmlcss--css-page-layout's Introduction

1.3 - CSS: Page Layout - Workshop

Each exercise folder contains a README with additional documentation.

Exercise 1 - Use Flexbox

Create an index.html file and a style.css file that reproduces the following:

exercise-1 goal

Exercise 2

Create an index.html file and a style.css file that reproduces the following:

exercise-2 goal

Exercise 3

Create an index.html file and a style.css file that reproduces the following:

exercise-3 goal

This is a full screen background image with text in the center

Exercise 4

Create an index.html file and a style.css file that reproduces the following:

exercise-4 goal

Exercise 5

Create an index.html file and a style.css file that reproduces the following:

exercise-5 goal

Exercise 6

Update the index.html file and style.css file to reproduces the following:

exercise-6 goal

Exercise 7

Update only the style.css file to reproduces the following:

exercise-7 goal


๐ŸŸก - Minimally complete workshop (75%) - ๐ŸŸก

Exercise 8

Update only the CSS file to reproduce the following:

exercise-8 goal

Exercise 9

Update only the style.css file to reproduces the following:

exercise-9 goal

Exercise 10

Create an index.html file and a style.css file that reproduces the following:

exercise-10 goal


๐ŸŸข - Complete workshop (100%) - ๐ŸŸข

Stretch Goals

The exercises in the following links will help you get more practice with CSS selectors, CSS Flexbox, and optionally Grid.

Exercise 11

Go back to exercise 10 and make the button do a 360deg rotation when it bounces

exercise-10 bonus goal

  • Use the syntax transform:scale() rotate() in your keyframe

Exercise 12 - NO flexbox!

The very first exercise had us build this:

exercise-1 goal

For fun, try and build this without using flexbox. No display: flex allowed.

You will need to use calc() and vh units for this.

Example use: min-height: calc(10vh + 200px);

Exercise 13

Create an HTML file and a CSS file that outputs the following

exercise-13 goal

<div class="alert alert-primary">
  <p>A simple primary alert.</p>
</div>

<div class="alert alert-secondary">
  <p>A simple secondary alert.</p>
</div>

...

Exercise 14

Create an HTML file and a CSS file that outputs the following

exercise-14 goal

<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>

...

Note: The type="button" attribute isn't important for this exercise

Exercise 15

Create an HTML file and a CSS file that outputs the following

Build upon what you did in exercise 14.

exercise-15 goal

<button type="button" class="btn btn-outline-primary">Primary</button>
<button type="button" class="btn btn-outline-secondary">Secondary</button>

...

Note: The type="button" attribute isn't important for this exercise

Exercise 16

Create an HTML file and a CSS file that outputs the following

Build upon what you did in previous exercise 14 and 15.

Part 1

exercise-16 goal 1

Part 2

exercise-16 goal 2

Part 3

exercise-16 goal 3

Notes

  • You do not need to re-create the code snippets. Your goal is to create the buttons. The code snippets are shown in the screenshots as an example of what the HTML properties should be.
  • The type="button" attribute isn't important for this exercise

Exercise 17

Create an HTML file and a CSS file that outputs the following

exercise-17 goal

Exercise 18

Create an HTML file and a CSS file that outputs the following

Build upon what you did in exercise 17.

exercise-18 goal

m1-3-htmlcss--css-page-layout's People

Contributors

scottanthonymorin avatar bharatkatyal avatar joshwcomeau 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.