Skip to content

Conversation

@JenFi72
Copy link

@JenFi72 JenFi72 commented Jan 23, 2022

No description provided.

Copy link

@JustineZwiazek JustineZwiazek left a comment

Choose a reason for hiding this comment

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

Really good job Jenny. I would have loved to be able to see the images (not loading, I think the files are missing in the commit) to be able to review styling in more depth. Other than that I would say some small changes needed with paragraph and heading elements, and it could have more consistent code indentations to make it easier to read.

<header class="main-header">

<div class="logo">
<img src="atletilogo.png" width="200" height="200" alt="AtletiLOGO">

Choose a reason for hiding this comment

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

Really good to see that you added alt text. I would say that the format could be improved by separating the words by a space to make it more descriptive.

<div class="logo">
<img src="atletilogo.png" width="200" height="200" alt="AtletiLOGO">

<div class="sitename">

Choose a reason for hiding this comment

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

This is very minor, but I think best practice is separating words with a hyphen when naming classes, to make it easier to read.


<div class="sitename">
<p class="h1">Atleti.</p>
<p class="h2"><em>The number one source for the latest tennis news</em></p>

Choose a reason for hiding this comment

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

Suggestion here, I don't think you need to wrap the h1 and h2 elements in a paragraph element. You could instead do a <h1 class="...">. Or with no class if not needed.


</header>
<article class="main-article">
<img class="article-pic" src="novak.jpeg" alt="Novak Djokivic" style="width:100%">

Choose a reason for hiding this comment

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

Really nice job with naming classes here (also big fan of Djokovic! :)

<article class="main-article">
<img class="article-pic" src="novak.jpeg" alt="Novak Djokivic" style="width:100%">
<div class="djokovic">
<p class="heading">AUSTRALIAN OPEN - Missing Novak Djokovic after historical vaccination mess. What's next for world tennis super star?</p>

Choose a reason for hiding this comment

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

Could be a good practice to replace the p element with a h element if it's a heading.

}

.sitename{
text-align:center;

Choose a reason for hiding this comment

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

Very small thing but correct indentations would make it easier to read.

border-radius: 2%;
}

li a:hover {

Choose a reason for hiding this comment

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

I really liked the effect on the navigation bar.

background-color: #F4E139;
}

@media (min-width: 667px) and (max-width: 1024px){

Choose a reason for hiding this comment

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

I think here you are missing the transition from having a logo and the name of the page (desktop) to having just the logo (tablet) - see sketch of the assignment.

Choose a reason for hiding this comment

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

I am reading the project specs again now and perhaps I am wrong here and this wasn't a fixed requirement?

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