Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #4916

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Develop #4916

wants to merge 4 commits into from

Conversation

Malvina-9
Copy link

@Malvina-9 Malvina-9 commented Apr 30, 2024

Copy link

@Oleksandr-kopaevich Oleksandr-kopaevich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, you almost there, just quickly fix few small comments and let me know, I'll approve the work!

src/index.html Outdated
href="https://fonts.gstatic.com"
/>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evere font-weight here it's separate file for browser to download, so always include only those which you actually use. In code you have font-weight: 500 and 400 which is default for text.

src/style.css Outdated
}

.menu__link:hover {
color: #00acdc;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, see the checklist

CSS Variable is used for a blue color

move it to a css variable

src/index.html Outdated
class="menu__link menu__link:hover is-active"
href="index.html"
>
APPLE

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small note

CSS is used to show all letters in Uppercase (don't type them in HTML)

box-sizing: border-box;
}

.header {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content is vertically centered (for any header height)
image
I believe logo also should be centered

Copy link

@roman-mirzoian roman-mirzoian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, but there is quite a bit of work to be done.
Pay attention to the comments.
And please fix this bug.
image

src/index.html Outdated
<a href="index.html">
<img
src="images/logo.png"
alt="moyo_1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alt attribute should describe the image content.

image

src/style.css Outdated
@@ -1,3 +1,82 @@
* {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use * selector (it impacts performance)
Better use html or body tag.
image

src/style.css Outdated
}

.header {
box-sizing: border-box;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you set this value for the whole page, it is better not to duplicate it.

src/style.css Outdated
width: 100%;
bottom: 0;
height: 4px;
background: #00acdc;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use variables for repeating properties.

image

src/index.html Outdated
<ul class="menu__list">
<li class="menu__item">
<a
class="menu__link menu__link:hover is-active"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use hover effect in css.

Suggested change
class="menu__link menu__link:hover is-active"
class="menu__link is-active"

image

@Malvina-9 Malvina-9 requested a review from roman-mirzoian May 3, 2024 12:16
Copy link

@dinaminahi dinaminahi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done 👍

</li>
<li class="menu__item">
<a
class="menu__link menu__link:hover"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class="menu__link menu__link:hover"
class="menu__link"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants