Replace <your_account> with your Github username and copy the links to Pull Request description:
Follow these instructions
❗️❗️❗️ DON'T FORGET TO PROOFREAD YOUR CODE WITH CHECKLIST BEFORE SENDING YOUR PULL REQUEST❗️❗️❗️
Create HTML page with the header using flexbox basing on this mockup.
- pay attention the mock is adaptive. Develop the layout to fit on 1024px and 1200px the same as on the mock.
- reset browser default margins
- use images from src/images
- Use semantic tags:
<header>,<nav>,ul - change links styles on
:hover - follow styles from the mock
- the link with
bluecolor and line below is an active link. It should haveclass="is-active"and relevant styles. - the link with only
bluecolor is an example of:hoverstyles. Every link in the row should havebluecolor on:hover. - add
data-qa="hover"attribute to the 4th link for testing (Laptops & computers)
--> CHECKLIST
- Check one more time if you added
data-qa="hover"andclass="is-active"required for tests - Do not use
tabs. Use2 spacesfor indentation. - Don't use repeated styles.
- Don't just copy all styles from Figma. Think, which of them are relevant.
Uneven sizes (e.g.
line-height: 14.6px) are definitely useless. - Don't use extra elements for blue line. Figure out how to work with
::afterand positioning - Check font styles. Use google fonts
- Links in
navshould have clickable area above and below the text - Uppercase letters for
nav__listare made with styles, not hardcoded into html (you should have usual text with first uppercase letter in html) - Don't set height for
headerexplicitly. Let the content (links) dictate it. - Logo should also be a link to the main page of the website (#home). But it
should not be part of
nav.
