vshepel / layout_product-cards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Product cards

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

Follow this instruction


Disable Multiplayer Cursors in figma to hide other cursors (Learn how)


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

The task

Create a pages with product card using flexbox basing on the mockup.

Requirements:

  • reset browser's default margins
  • card width is 200px including border
  • use images from src/images
  • change link styles on :hover
  • follow styles from the mock
  • add data-qa="card" attribute to the card block
  • add data-qa="hover" attribute to the link

--> CHECKLIST

Tips & Hints

  • Add ALL data-qa attributes required in the task
  • Reuse stars block from Stars task and keep it operational. If you change stars--4 modifier to stars--2 or other - number of selected stars should change correctly.
  • There should be only 2 BEM blocks in your code card and stars all the others are just card elements
  • Item with the text Buy should be a link.
  • Check font styles on the mockup. Use google fonts

screenshot

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 91.2%Language:HTML 8.8%