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 #5924

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

Develop #5924

wants to merge 3 commits into from

Conversation

winzzzton
Copy link

@winzzzton winzzzton commented Jan 10, 2025

  • DEMO LINK
  • TEST REPORT LINK
  • Header height is set in 1 place (for the links)
  • Content is vertically centered (for any header height)
  • CSS is used to show all letters in Uppercase (don't type them in HTML)
  • Logo is an image wrapped with a link
  • CSS Variable is used for a blue color
  • Pseudo-element is used for a blue line below the active link
  • Code follows all the Code Style Rules ❗️

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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


Great job on your implementation! 🎉 Your code meets most of the task requirements and constraints, and the functionality is intact. While there are a few minor issues, such as the use of the universal selector * and the need for a more descriptive alt attribute for the logo image, these do not significantly impact the functionality of your code. Keep up the good work, and consider these suggestions for future improvements! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

src/style.css Outdated
@@ -1,3 +1,79 @@
body {
:root {
--blue-color: #00acdc

Choose a reason for hiding this comment

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

It seems like there is a missing semicolon at the end of the CSS variable declaration --blue-color: #00acdc. Adding a semicolon will ensure proper CSS syntax.

Choose a reason for hiding this comment

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

Not fixed

Copy link

@vadiimvooo vadiimvooo left a comment

Choose a reason for hiding this comment

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

Seems like you forgot to deploy your solution, please make it and ask for review once again.

src/index.html Outdated
</a>
<nav class="menu">
<ul class="nav">
<li><a href="#" class="nav-link is-active">Apple</a></li>

Choose a reason for hiding this comment

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

Suggested change
<li><a href="#" class="nav-link is-active">Apple</a></li>
<li>
<a
href="#"
class="nav-link is-active"
>
Apple
</a>
</li>

Choose a reason for hiding this comment

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

Please refactor your code according to styleguide

src/style.css Outdated
@@ -1,3 +1,79 @@
body {
:root {
--blue-color: #00acdc

Choose a reason for hiding this comment

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

Not fixed

src/style.css Outdated

header {
width: 100%;
height: 60px;

Choose a reason for hiding this comment

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

Height should not be hardcoded to header, instead it should be used for links

src/style.css Outdated
font-family: 'Roboto', sans-serif;
}

header {

Choose a reason for hiding this comment

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

Use class selector, the same for other selectors

src/style.css Outdated
.logo {
width: 40px;
height: 40px;
margin-left: 50px;

Choose a reason for hiding this comment

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

Instead of margin for this element use padding for header

src/style.css Outdated
width: 40px;
height: 40px;
margin-left: 50px;
margin-top: 10px;

Choose a reason for hiding this comment

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

Just use align-items cented to center element vertically inside header

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.

3 participants