Replace <your_account>
with your Github username and copy the links to Pull Request description:
Follow these instructions
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
blue
color and line below is an active link. It should haveclass="is-active"
and relevant styles. - the link with only
blue
color is an example of:hover
styles. Every link in the row should haveblue
color on:hover
. - add
data-qa="hover"
attribute to the 4th link for testing (Ноутбуки и компьютеры
)
--> CHECKLIST
- Check one more time if you added
data-qa="hover"
andclass="is-active"
required for tests - Do not use
tabs
. Use2 spaces
for 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
::after
and positioning - Check font styles. Use google fonts
- Links in
nav
should have clickable area above and below the text - Uppercase letters for
nav__list
are made with styles, not hardcoded into html (you should have usual text with first uppercase letter in html) - Don't set height for
header
explicitly. 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
.