Code Monkey home page Code Monkey logo

layout_moyo-header's Introduction

Moyo header

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❗️❗️❗️

The task

Create HTML page with the header using flexbox basing on this mockup.

screenshot

Requirements:

  • 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 have class="is-active" and relevant styles.
  • the link with only blue color is an example of :hover styles. Every link in the row should have blue color on :hover.
  • add data-qa="hover" attribute to the 4th link for testing (Laptops & computers)

--> CHECKLIST

Tips & Hints

  • Don't use gap property for indents. It's not supported in tests, use margin instead.
  • Check one more time if you added data-qa="hover" and class="is-active" required for tests
  • Do not use tabs. Use 2 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.

layout_moyo-header's People

Contributors

mgrinko avatar yuriiholiuk avatar ost-ptk avatar ivadimko avatar vinniej-2k20 avatar vladimir-beliy avatar oleksiiblezniuk avatar irenhh avatar olexandr6 avatar solaryasha avatar danylo-onishchuk avatar elena-brv avatar ihor-karpyn avatar illiarerun avatar

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.