Code Monkey home page Code Monkey logo

layout_antisnake's Introduction

Antisnake

Replace <your_account> with your Github username and copy the links to Pull Request description:

Follow this instructions


❗️❗️❗️ DON'T FORGET TO PROOFREAD YOUR CODE WITH CHECKLIST BEFORE SENDING YOUR PULL REQUEST❗️❗️❗️

The task

Display six colored blocks on the screen without any extra margins:

  • Use grid
  • Each block should be 300px high.
  • Each block should have its number (1 to 6) placed in its center in white Arial 100px font.
    • Block 1 must be red
    • Block 2 must be 4/5 red and 1/5 black
    • Block 3 must be 3/5 red and 2/5 black
    • Block 4 must be 2/5 red and 3/5 black
    • Block 5 must be 1/5 red and 4/5 black
    • Block 6 must be black.
  • The width of each block should be not less than its height (300px)
  • Blocks must be put in 2 to 6 rows and stretched: each row must fit either 1, 2, or 3 blocks. See the screenshots here.
  • Each row is to be read from left ro right.

--> CHECKLIST

3 columns 2 columns 1 column
1 col 1 col 1 col

layout_antisnake's People

Contributors

yuriiholiuk avatar ost-ptk avatar mgrinko avatar oleksiiblezniuk avatar vladimir-beliy avatar irenhh avatar danylo-onishchuk avatar ihor-karpyn avatar olexandr6 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.