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

project 1 yogadia final #55

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

Conversation

Klaudiapalokaj
Copy link

first project is ready for feedback.
Regards,
Klaudia

Copy link

@nadialefebvre nadialefebvre left a comment

Choose a reason for hiding this comment

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

Hi Klaudia!

Great first project! I really like your design, it feels so peaceful ☮️ And good job with the code as well. However I left some comments to improve it.

Keep up the good work!

<menu class="menu-parent">
<img src="./Images/Yogadia_Logo.jpg" alt="Logo" class="menu-logo" />

<div class="menu-child 2">

Choose a reason for hiding this comment

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

I don't see any class named 2 in your css, so you can remove this 😄

<img
src="Images/Hero1_v1.jpg"
alt="Hero"
style="width: 100%; height: 125%"

Choose a reason for hiding this comment

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

You could put all images' styling in your css.

}

.button1:hover {
background-color: white;

Choose a reason for hiding this comment

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

Since the background is also white (or almost), it would be better for the eyes to have another color on hover.

Comment on lines +80 to +81
<section></section>
<section></section>

Choose a reason for hiding this comment

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

I assume you want to add something here eventually, but in the meantime, it would be better to not leave empty tags.

</div>

<section class="section1">
<div class="spalte 1">

Choose a reason for hiding this comment

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

Again, I'm not sure why you have this here, but class name should be only spalte according to your css (not spalte 1, spalte 2, etc.)


body {
font-family: "Abel", sans-serif;
color: black;

Choose a reason for hiding this comment

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

color: black; is default, so no need to add it here.

Comment on lines +14 to +17
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;

Choose a reason for hiding this comment

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

Nice use of flexbox! Did you know that flex-direction: row; is default for flexbox? You could save a line by removing it 😄

Comment on lines +35 to +38
.menu-child a:hover {
background: rgb(115, 14, 83);
color: white;
}

Choose a reason for hiding this comment

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

Great that you added :hover styling!

Comment on lines +50 to +66
.hero-text {
text-align: center;
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
color: rgb(115, 14, 83);
}

.h1 {
font-size: 30pt;
}

.h2 {
font-size: 15pt;
color: black;
}

Choose a reason for hiding this comment

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

Here you could achieve the same thing (having only the h1 in another color) and save a line of code like this:

.hero-text {
  text-align: center;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.h1 {
  font-size: 30pt;
  color: rgb(115, 14, 83);
}

.h2 {
  font-size: 15pt;
}

.footer {
background-color: rgb(5, 5, 5);
text-align: center;
margin: 100px solid;

Choose a reason for hiding this comment

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

Since margin can't have a solid value, this line has no effect, you can remove it completely.

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