Git Product home page Git Product logo

html-css-group-ex-mar-27's Introduction

We will be reusing project files from last time.

Start by editing the grid.html and grid.css files in this repo. Add the style code at the end of the style.css file.

We will be building the layout in layout1.png

Inside of body, add a div with id "body-container";

  • create a header tag
  • create an h1 tag with text "Header" inside the header tag. Make sure the Header text is centered.
  • create an aside tag
  • create an unordered list of 5 elements, each with text Item 1 - 5 inside of it
  • style the list so that the text is centered in the container.
  • add an article tag inside the "body-container" div
  • add 3 images inside of it, with width and height 150px, source assets/image1.png.
  • make them spaced out evenly inside their parent; give the article tag a padding of 20px;
  • create a footer tag, with an h4 tag with text "Footer" inside of it. Make sure the Footer text is centered

Style the "body-container" div:

  • background-color #c4ebf9
  • add a min-width: 100%; to it
  • add padding: 35px;
  • make it display grid.
  • define your columns and rows using grid-template-columns and grid-template-rows
  • aside tag should be 40% the size of the article tag.
  • add a gap between the items in the grid, using gap, of 30px;
  • header an footer should be of height 80px

Header, footer should have background-color #02bfb1; Aside should have background color #6edb6e; Article tag should have background color #fbb04c;

html-css-group-ex-mar-27's People

Contributors

doublemacro avatar metehandoenmez 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.