Skip to content

London Class 9_Turing - HTML/CSS - Week 1#510

Open
susanssky wants to merge 8 commits into
CodeYourFuture:masterfrom
susanssky:master
Open

London Class 9_Turing - HTML/CSS - Week 1#510
susanssky wants to merge 8 commits into
CodeYourFuture:masterfrom
susanssky:master

Conversation

@susanssky

Copy link
Copy Markdown

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name:
  • Your City:
  • Your Slack Name:

Homework Details

  • Module:
  • Week:

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

@susanssky

susanssky commented Oct 30, 2022

Copy link
Copy Markdown
Author

finished = last updated in HTML/CSS week1
finished week2 hw = last updated in HTML/CSS week2(without grid)

@susanssky

Copy link
Copy Markdown
Author

form use grid = added grid in the form

@samhoooo samhoooo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for your work, I appreciate it. Here are some comments.

Comment thread css/style.css
*/

header {
height: 80px;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The font size in header may change, would it be better if we use relative unit (em/rem) to fix height?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

it will update next week (HTML/CSS week3)

Comment thread css/style.css
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 2rem;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is a good use of relative unit to padding!

Comment thread css/style.css
Comment on lines +29 to +31
display: flex;
gap: 2.5rem;
list-style-type: none;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is a good candidate to apply a flex box, nice!

Comment thread css/style.css
Comment on lines +81 to +84
display: flex;
justify-content: center;
align-items: center;
gap: 3rem;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I also like the use of flex box in here

@samhoooo samhoooo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I can see you have put much effort on this task, keep going! Here are some comments

Comment thread css/style.css
Comment on lines +180 to +188
.fillForm {
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-areas:
"fn fn fn fn ln ln ln ln"
"ad ad ad ad ad ad ad ad"
"a2 a2 a2 a2 a2 a2 a2 a2"
"cy cy cy cy pc pc pc pc";
column-gap: 1rem;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A good decision to apply grid in here!

Comment thread css/style.css
Comment on lines 161 to 173
form {
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
width: 75%;
}

label {
font-size: 1rem;
color: #434242;
margin-bottom: 0.5rem;
font-weight: 400;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

it would be nice to make a class for your form, and specify your label within the form class. So you wouldn't be confused as this can affect other part of your site!

Comment thread css/style.css
Comment on lines +94 to 114
footer {
border-top: 1px solid #eee;
text-align: center;
margin: 4rem 0;
padding: 0.5rem 0;
}
.footer .icons {
footer .icons {
display: flex;
justify-content: center;
align-items: center;
}
.footer .icon {
footer .icon {
border: 1px solid #ccc;
border-radius: 50%;
padding: 1rem;
margin: 1rem;
}
.footer img {
footer img {
height: 1.5rem;
}
.join {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is good to remove the class from footer, as your site is likely to have only one footer

Comment thread css/style.css
Comment on lines +56 to 64
button {
background-color: var(--primary-color);
border: transparent;
border-radius: 0.5rem;
color: #fff;
font-weight: 400;
margin-top: 2rem;
padding: 1rem 2rem;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It may be better to make a class for your button, so you wouldn't be confused as this affect all the buttons in your site!

@samhoooo samhoooo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A little comment in here, thanks

Comment thread store.html Outdated
<nav>
<ul>
<li>Meet Karma</li>
<li style="font-weight: 500">Meet Karma</li>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Instead of inline CSS, I guess it would be better if we give this list element an ID, and define its style in the css file? This can make you easier to maintain your site.

Ref: https://stackoverflow.com/questions/2612483/whats-so-bad-about-in-line-css

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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