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

created first project #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SimoneStillhard
Copy link

No description provided.

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 Simone!
Nice first project! I left you some comments on how you could improve the code. On top of that, I think you could review your design/layout choices while having the user experience in mind. For example the images are very big and you have to scroll to see the text, which is very small. Since there's not so much content in each page, it would be great to see all on it at first glance.
Like I said, good job! 🌞

<div class="dropdown">
<a class="drop white" href="./index.html">NACHWUCHS <i class="arrow down"></i></a>
<div class="dropdown-content">
<a class="white" href="./jo.html">JO</a><br>

Choose a reason for hiding this comment

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

There are some other ways to ensure all your a tags here end up on different lines (wrapping each of them in a div for example).

Wir bieten Ski und Snowboard als Breiten- und Rennsport sowie ein Konditionstraining an.
Von 4 - 7 Jahren gehen die Kinder in die Piccolo. Ab 7 Jahren gehören sie der JO an.</p>
</div>
<footer>

Choose a reason for hiding this comment

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

Good use of the header and footer tags!

<a class="white" href="./termine.html">TERMINE</a>
<a class="white" href="./kontakt.html">KONTAKT</a>
</nav>
<header id="titel">

Choose a reason for hiding this comment

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

Since it's standard to use class names more than id for styling purposes, here you could use instead class="titel" (and .titel instead of #titel in css)

Comment on lines +6 to +7
The tab 'Termine' is supposed to be interactive and with some links, but I havn't been able to do that yet.
Also, I would like to add a registration form in 'Kontakt' and of course the real adresses.

Choose a reason for hiding this comment

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

Nice to have some goals to improve further your website! 😄

<section class="kontakt">
<div class="name">
<p>Urs Kaufmann</p>
<a href="mailto:simone.stillhard@gmail.com">MAIL</a>

Choose a reason for hiding this comment

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

Well done with the mailto: 👍

margin: 0;
}

h1, h2 {

Choose a reason for hiding this comment

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

Great that you avoided here to repeat the same code twice for two tags! It's always good to keep our code DRY (don't repeat yourself). You could also give them a class name and it would do the same.
Side note: h1 is usually bigger than h2 (just food for thoughts 😄 ).


a.black:link, a.black:visited {
color: black;
text-decoration: underline;

Choose a reason for hiding this comment

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

text-decoration: underline; is default behaviour for a tag, so you can remove that line.

Comment on lines +42 to +43
padding-top: 20px;
padding-right: 40px;

Choose a reason for hiding this comment

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

There's a shorthand allowing to right it on one line:
padding: 20px 40px 0 0; (the four values are from top to left in clockwise order)

Comment on lines +50 to +55
border: solid whitesmoke;
border-width: 0 1px 1px 0;
display: inline-block;
padding: 3px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);

Choose a reason for hiding this comment

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

Nice job with the arrow 🔽

Comment on lines +82 to +83
margin-left: 100px;
margin-right: 100px;

Choose a reason for hiding this comment

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

Same shorthand as for padding here:
margin: 0 100px 0 100px;
But it can even be shorter when top/bottom and left/right are the same:
margin: 0 100px;

@SimoneStillhard
Copy link
Author

SimoneStillhard commented Oct 19, 2022 via email

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