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

C22-Phoenix-Marjana-Khatun #16

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

C22-Phoenix-Marjana-Khatun #16

wants to merge 8 commits into from

Conversation

marjanak
Copy link

No description provided.

Copy link

@kelsey-steven-ada kelsey-steven-ada left a comment

Choose a reason for hiding this comment

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

I'm not quite done reviewing, but my internet's unstable and I don't want to lose the feedback in progress. I'll post here and in Learn when I'm fully done providing feedback =]

Comment on lines +22 to +44
#mainbar{

grid-column: 2/5;
grid-row: 2/4;

}

#footerbar{

grid-column: 2/span 3;
grid-row: 4/5;
align-self: end ;

}

a:hover {
background-color: darkgreen;

}

footer {
padding-top: 120px;
}

Choose a reason for hiding this comment

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

Spacing inside of rule sets across the CSS files is inconsistent, I suggest removing any blank lines inside of rule sets then keeping a single blank line between each rule set.

margin-bottom: 0;
padding-top: 50px;
padding-bottom: 0;
font-family:Papyrus ;

Choose a reason for hiding this comment

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

We should be able to remove this line. Since we set font-family to Papyrus in the shared styles.css file, the value should be inherited if we import both styles.css and facts.css into the facts.html page.

width: 1400px;
height: 600px;
justify-content:center;
}

Choose a reason for hiding this comment

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

Suggested change
}
}

Copy link

@kelsey-steven-ada kelsey-steven-ada 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, Marjana! Well organized pages, just a few places where we could reduce our CSS or replace some divs. Let me know if you have questions on any of the feedback 😄

Comment on lines +13 to +17
<h1>Fun Facts</h1>
</header>
<section class="container">
<div>
<h3>Indoor plants improve air quality</h3>

Choose a reason for hiding this comment

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

In the MDN docs it's highly suggested to not skip headings:

A common navigation technique for users of screen reading software is jumping from heading to quickly determine the content of the page. Because of this, it is important to not skip one or more heading levels. Doing so may create confusion, as the person navigating this way may be left wondering where the missing heading is.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#navigation

Here the suggestion would be to use h2 instead of the h3s and style the h3s as needed to match the smaller font size desired.

Comment on lines +16 to +36
<div>
<h3>Indoor plants improve air quality</h3>
</div>
<div>
<h3>Plants can filter sound and aborb</h3>
</div>
<div>
<h3> Indoor plants can sense light</h3>
</div>
<div>
<h3>Plants can communicate through root system and emit chemical signals</h3>
</div>
<div>
<h3>Plants can touch sense</h3>
</div>
<div>
<h3>Indoor plants remove toxins from air</h3>
</div>
<div>
<h3>Indoor plants helps boost mood and reduce stress</h3>
</div>

Choose a reason for hiding this comment

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

I recommend replacing these nested divs with semantic tags like article. Where else across the files do you see divs that could be replaced with a semantic tag?

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