Giter VIP home page Giter VIP logo

layout_catalog's Introduction

Frontend practice with catalog page

Create HTML page with catalog. Develop semantic page structure as shown on the mockup.

  • use Header, Stars and Card blocks from previous tasks but rewrite them using BEM and SCSS
  • remove old data-qa attributes
  • add data-qa="nav-hover" (not just hover) to the 4th nav link for testing (Laptops & computers)
  • add data-qa="card" to the first card
  • add data-qa="card-hover" (not just hover) to the link Buy inside the first card
  • nav links color is not black any more (nav links should have #060b35 color)
  • add class is-active to the first link (Apple) in navigation
  • use <main> tag for cards container
  • use grid for cards with different number of columns:
    • 1 for the smaller screens
    • 2 starting at 488px
    • 3 starting from 768px
    • 4 starting from 1024px
  • cards have fixed width - 200px
  • gap between cards should be - 46px horyzontally and 48px vertically
  • cards container(catalog) have fixed paddings (50px vertically and 40px horyzontally)

Make all the changes smooth on hover (during 300ms):

  • increase the card by 20 percent (neighboring cards should not be affected)
  • change the card title text color to #34568b when the card is hovered (.card:hover .card__title)
  • change navigation link text color to #00acdc
  • change the button background to #fff and text color to #00acdc on hover

Here are the Layout Tasks Instructions

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.

  • All component follow BEM and use SCSS
  • repaeted sizes and special colors are put to variables
  • Grid is used for the columns
  • cards are shown in 1, 2, 3 or 4 columns based on screen resolution
  • All changes on :hover are smooth
  • Code follows all the Code Style Rules ❗️

layout_catalog's People

Contributors

alinamatuschak avatar bohdan-maksymiuk avatar danheim avatar danmysak avatar danylo-onishchuk avatar ihor-karpyn avatar irenhh avatar ivadimko avatar marina-tilniak avatar meforoma avatar mgrinko avatar mhrynko avatar michalcywka avatar mkyloa avatar mykhalenych avatar mykola-yarchuk avatar oleksiiblezniuk avatar olexandr6 avatar ost-ptk avatar solaryasha avatar tiserett avatar vinniej-2k20 avatar vladimir-beliy avatar yuriiholiuk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layout_catalog's Issues

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.