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

empty pull request #2659

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

Conversation

pawelnowicki87
Copy link

Copy link

@Zibi95 Zibi95 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. 🥇

I found some BEM mistakes to fix in the comments. The code is really well-structured and easy to read. Also, consider using higher quality images. It's good practice to have pictures at least 2x larger than the actual width and height that you display on the web.

Copy link

Choose a reason for hiding this comment

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

You can take higher resolution images. In Figma, there is a link for a higher resolution image used on the right sidebar. Additionally, it would be beneficial to minify those images as it can reduce their size by around 70%.
image

@@ -0,0 +1,9 @@
$color-accent: #d12d35;
Copy link

Choose a reason for hiding this comment

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

I am a bigger fan of naming things by their color. Without context, it is hard to tell what is what, and it's easy to forget. For example, calling it 'color-red-dark' instead of just 'color-main' makes it easier to identify and remember.

Comment on lines +40 to +43
<a
href="tel:+12125357710"
class="navigation__icon navigation__icon--phone"
></a>
Copy link

Choose a reason for hiding this comment

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

It is good if links that have only icons include a tooltip and aria-label for better accessibility.

src/index.html Outdated
>
<div>
<p class="title__description">Plan your visit</p>
<h2 class="title--secondary information__title">Museum hours</h2>
Copy link

Choose a reason for hiding this comment

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

if you want to use modifier then you should also use original block or element that the modifier is applied on. As i saw in styles there is some repeated code for title and title--secondary

src/index.html Outdated

<div>
<article>
<h3 class="title--tertiary information__title">
Copy link

Choose a reason for hiding this comment

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

same here

id="information"
>
<div>
<p class="title__description">Plan your visit</p>
Copy link

Choose a reason for hiding this comment

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

It is element but I can't see the parent of this element.

src/index.html Outdated
Comment on lines 265 to 277
alt="2"
class="exhibition__photo"
/>

<img
src="./images/photos/3.jpg"
alt="3"
class="exhibition__photo"
/>

<img
src="./images/photos/4.jpg"
alt="4"
Copy link

Choose a reason for hiding this comment

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

Add more descriptive alt.

Copy link

@Zibi95 Zibi95 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. 🥇

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