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

LONDON CLASS _8-DONA_SHEHU-HTML/CSS-WEEK_3 #276

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dona-shehu
Copy link

@dona-shehu dona-shehu commented Dec 5, 2021

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 Dona Shehu
  • Your City: London
  • Your Slack Name:

Homework Details

  • Module: HTML/CSS
  • Week: 3

Notes

  • What did you find easy?

  • What did you find hard?
    How to use Grid Css.

  • What do you still not understand?
    How to use correctly Grid Css

  • Any other notes?

@LucyMac LucyMac added the LDN-8 London class #8 (start Nov 2021) label Dec 7, 2021
Copy link

@SamanZahedi SamanZahedi left a comment

Choose a reason for hiding this comment

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

Hey Dona, You have a great understanding of HTML and CSS, well done and keep it up!

<!----------HERO SECTION--------->
<div class="homepage-hero">
<img src="images/american-heritage-chocolate-vdx5hPQhXFk-unsplash.jpg" alt ="hero-img" />

Choose a reason for hiding this comment

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

Hi Dona, try to use alt attribute to describe your image

<footer class="footer">
<section class="homepage-footer ">
<div class="footer"> <a href ="#">About Us</a></div>

Choose a reason for hiding this comment

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

You have one class name "footer" for many divs, wrap them in one to avoid repeating it

<p>&#169; BonTon Cakes</p>
</section>
</footer>

Choose a reason for hiding this comment

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

Great use of semantic tags overall

padding:15px;
}
.logo-img {
width: 50%;

Choose a reason for hiding this comment

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

Using % for width shows how great your understanding of CSS is

text-align: center;
}
/* TABLET VERSION*/
@media screen and (min-width: 550px) {

Choose a reason for hiding this comment

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

Was this break point not supposed to start at 540px?

.homepage-welcome p {
font-size:30px;
}
.homepage-header .logo-img {

Choose a reason for hiding this comment

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

Great way of avoiding code repetition

Copy link

@amellie amellie left a comment

Choose a reason for hiding this comment

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

Love your cake website! You applied the grid system correctly with minor comments. I also love how you make the image responsive without changing the width of the actual image itself. Well done!

</head>
<body class="body">
Copy link

Choose a reason for hiding this comment

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

Please make sure the indentation in this document is properly done please :)

<!--HEADER-->
<header class="header">
Copy link

Choose a reason for hiding this comment

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

Well done on separating the sections into header, main, and footer using proper semantic HTML. I would do exactly the same!

<!---------MAIN--------->
<main class= "main">
<nav class="nav-bar">
Copy link

Choose a reason for hiding this comment

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

In my opinion, nav tag should be part of the header, not the main content. Main tag should only contain the contents of the web page

<!-------PRODUCTS SECTION--------->
<section class="homepage-products">
<div class="products">
Copy link

Choose a reason for hiding this comment

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

Looks sleek and well-structured!

display:grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: auto;
grid-template-areas:
Copy link

Choose a reason for hiding this comment

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

well done!

text-align: center;
}
/* TABLET VERSION*/
@media screen and (min-width: 550px) {
Copy link

Choose a reason for hiding this comment

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

I believe the homework mentions only 2 breakpoints: 540px and 900px!

color:black
}
.products img {
width:100%;
Copy link

Choose a reason for hiding this comment

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

yes thats correct! having 100% width and height applied to the image(s), those images will then try to fit whatever width of the div that wrap them. I would do exactly the same to achieve responsiveness

.homepage-footer {
display: flex;
}
.homepage-footer {
Copy link

Choose a reason for hiding this comment

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

footer should be aligned in one row instead of 3 rows for desktop view

@amellie amellie added the reviewed A mentor has reviewed this PR label Dec 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
LDN-8 London class #8 (start Nov 2021) reviewed A mentor has reviewed this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants