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

Cohort22 - Liubov Davidova, Maybellene Aung, Rong Jiang, Tatiana Snook #10

Open
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

tatianasnook
Copy link

No description provided.

Copy link
Collaborator

@yangashley yangashley left a comment

Choose a reason for hiding this comment

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

Nice work on group-fansite, team!

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍 good that you remembered to move index.html to the project root.

<p>
Welcome to Plant Kingdom—a space to discover, care for, and appreciate the beauty and benefits of plants. Plants enrich our lives by purifying the air, enhancing our well-being, and bringing natural beauty into our homes and gardens.
</p>
<img src="assets/the_map_of_plants.jpg" alt="Trees" >
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider writing a more descriptive alt text to make your site more accessible. Maybe something like alt="Map showing different plant species."

</p>
<img src="assets/the_map_of_plants.jpg" alt="Trees" >

<h3>🌱 About Plants 🌱</h3>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I could also see lines 40-62 in a separate section tag. I don't think you need it here and it's not necessarily correct, but I thought I'd call it out to highlight how different people interpret what elements are needed on a page.

<a class="menu-link" href="#">Facts</a>
</li>
<li>
<a class="menu-link" href="gallery.html" target="_blank">Gallery</a>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you mean for these nav links to open a new tab?

The other 3 pages for don't set the target attribute like target="_blank". Consider aligning how the navigation behaves across all four pages.

Comment on lines +33 to +35
<div id="summary">
<p> This is a quick guide on how to take care of your plants!</p>
</div>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Prefer a more semantic element like section instead of div here since divs don't provide meaningful information about the structure of our pages.

The docs for the section element say that the element "represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it".

<section>
<h2>🌱 Funny facts about plants and not only 🌱</h2>
<img src="../assets/Plants.jpg" width="400" alt="Plants"/>
<p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

I question whether the Paragraph element is the most appropriate element to use here because: "Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines and/or first-line indentation".

See docs here.

Perhaps, it can be removed completely or replaced with a more semantic tag.

Comment on lines +13 to +16
background-size: cover;


}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
background-size: cover;
}
background-size: cover;
}

Remove unnecessary blank lines

Comment on lines +39 to +41
margin-left: 1em;
/* background-color: red; */
max-width: 1000px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
margin-left: 1em;
/* background-color: red; */
max-width: 1000px;
margin-left: 1em;
max-width: 1000px;

Remove commented out code

Comment on lines +50 to +55
flex-wrap: wrap;
/* align-items: flex-start; */
justify-content: space-around;
gap: 20px;
/* background-color: red; */
margin: 1em;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
flex-wrap: wrap;
/* align-items: flex-start; */
justify-content: space-around;
gap: 20px;
/* background-color: red; */
margin: 1em;
flex-wrap: wrap;
justify-content: space-around;
gap: 20px;
margin: 1em;

Like in our Python projects, commented code should be removed. Leaving commented out question might beg the question "why is this here? was it needed? should it be added back in?" For clarity and keeping your codebase clutter free, remove commented out code.

@@ -0,0 +1,42 @@
main{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
main{
main {

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.

3 participants