Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Scotland class 5 — CSS zoo project - #74

Closed
bonboh wants to merge 3 commits into
CodeYourFuture:mainfrom
Dilekcn:main
Closed

Scotland class 5 — CSS zoo project#74
bonboh wants to merge 3 commits into
CodeYourFuture:mainfrom
Dilekcn:main

Conversation

@bonboh

@bonboh bonboh commented Jun 13, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@bonboh bonboh left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Great job @Dilekcn! I've left some suggestions for you to read but no need to do anything else 👍

<h3>Top 5 Tiger Facts</h3>
<ol>
<h2>Tiger Facts</h2>
<!-- <h3>Top 5 Tiger Facts</h3> -->

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
<!-- <h3>Top 5 Tiger Facts</h3> -->

Software teams normally delete commented code, so we shouldn't commit commented code

Comment on lines +11 to +13
#logo{
border:none;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
#logo{
border:none;
}

Instead of adding border:none;, we could instead delete the border CSS below

-img {
-  border: 5px solid #8075ff;
-}

justify-content: center;
align-content: center;
flex-direction: column;
transition: ease 2s;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
transition: ease 2s;
transition: background-color 2s ease;

The documentation says we should provide the properties in this order

https://developer.mozilla.org/en-US/docs/Web/CSS/transition

background-color: #0b3c49;
color: #f0e100;
}
.tigers h2, h3{

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
.tigers h2, h3{
.tigers h2, .tigers h3{

The h3 selector will change the colour for all h3s on the page, but the task is to only change it for the tigers section so we should update the selector to .tigers h3

Comment on lines +148 to +150
display: flex;
justify-content: center;
align-items: center;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
display: flex;
justify-content: center;
align-items: center;
text-align: center;

Alternatively, we could use text-align: center; here

font-size: larger;

}
.education-container button:hover{

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
.education-container button:hover{
.education-container button:focus,
.education-container button:hover{

We should add a focus style too for keyboard users who use the Tab key to move to the button

@bonboh bonboh closed this Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants