Code Monkey home page Code Monkey logo

layout_stars's Introduction

Stars block

Implement the Stars Block used in a card and catalog. Follow

Here are the Layout Tasks Instructions

Requirements:

  • Reset browser's default margin
  • Add 6 stars blocks with 5 stars__star elements each.
  • Add stars--0, stars--1, stars--2 ... stars--5 modifiers to the blocks one per each
  • Don't add any other classes to the elements.
  • The block with stars--N modifier should have exactly N first stars active.
  • use background-image for stars (see images folder). Don't use <img> or <svg> tags.
  • The star size and the distance should be taken from Figma
  • Use display: flex for the stars block to avoid an issue with extra spaces between individual stars
  • Don't add vertical margins between blocks.
  • DON'T use gap property for flex container because it does not work in tests

Checklist

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

❗️ Copy this Checklist to the Pull Request description after links, and put - [x] before each point after you checked it.

  • Yellow stars are added with container modifier + pseudo-selector (NO extra classes)
  • Each BEM block has its own separate file
  • All Typical Mistakes from BEM lesson theory are checked.
  • Code follows all the Code Style Rules ❗️

layout_stars's People

Contributors

aliceblunt8 avatar artemtopolskyi avatar casualjackie avatar danheim avatar danylo-onishchuk avatar elena-brv avatar ihor-karpyn avatar irenhh avatar mgrinko avatar mhrynko avatar mykhalenych avatar oleksiiblezniuk avatar solaryasha avatar tiserett avatar vinniej-2k20 avatar vladimir-beliy avatar yuriiholiuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layout_stars's Issues

Readme file needs to be updated

The DEMO LINK field in README doesn't work even after inputting username. Perhaps, an example could do the trick?
There are also some grammatical errors in the file. If it is fine, I can take care of the issue.

Not fixed

Я уже потім побачив усі коментарі. В подальшому буду увазнішим. Вибачте, що по дрібницях віднімаю ваш час.

BackboneJS tests do not work properly

According to the demands of Readme.md:

  • Implement 6 blocks with stars class
    • The first does not have additional classes

But BackboneJS tests demand additional class and give an error "stars--0.png not found", which is not required.

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.