Skip to content

Portfolio: start project - #10

Open
krilian88 wants to merge 1 commit into
mainfrom
Portfolio
Open

Portfolio: start project#10
krilian88 wants to merge 1 commit into
mainfrom
Portfolio

Conversation

@krilian88

Copy link
Copy Markdown
Owner

No description provided.

@krilian88
krilian88 requested a review from broshkabro April 5, 2021 17:01

@broshkabro broshkabro left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Basic scope +30.
Advanced scope +30.
Bonus +20.

Comment thread index.html
Comment on lines +93 to +94
</div>
</div>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

formatting

Comment thread index.html
<div class="skill-item">
<div class="icon"><img src="./img/icons8-javascript-96.png" alt="js_icon"></div>
<h2>JAVASCRIPT</h2>
<p>JavaScript is a programming language that conforms

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

formatting

Comment thread index.html
</footer>
<script src="./app.js"></script>
</body>
</html>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please mind the formatting. It is difficult to understand the hierarchy of the elements because of it.

Comment thread app.js
document.addEventListener('scroll', () => {
let scrollPosition = window.scrollY;
if (scrollPosition > 250) {
header.style.backgroundColor = '#29323c';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It is better to use a constant for the color.

Comment thread app.js
const hamburger = document.querySelector('.header .nav-bar .nav-list .hamburger');
const mobileMenu = document.querySelector('.header .nav-bar .nav-list ul');
const header = document.querySelector('.header.container');
const menuItem = document.querySelectorAll('.header .nav-bar .nav-list ul li a');

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It is better to use less specific selector classes.

Comment thread style.css
Comment on lines +744 to +760
#header .nav-list ul li {
display: inline-block;
}

#header .nav-list ul li a {
font-size: 1.8rem;
}

#header .nav-list ul a:after {
display: none;
}

#skills .skill-bottom .skill-item {
flex-basis: 22%;
margin: 1.5%;
}
} No newline at end of file

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You are using one of the strongest selectors - selector by id. It is hard to override it. You should think about less specific selectors, that are strong enough (like classes) and easy to override.

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.

2 participants