Skip to content

london-class-8/shadi-safaee/karma-week-2#312

Closed
migmow wants to merge 2 commits into
CodeYourFuture:masterfrom
migmow:master
Closed

london-class-8/shadi-safaee/karma-week-2#312
migmow wants to merge 2 commits into
CodeYourFuture:masterfrom
migmow:master

Conversation

@migmow
Copy link
Copy Markdown

@migmow migmow commented Nov 19, 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: Shadi Safaee
  • Your City: Winchester
  • Your Slack Name: Shadi

Homework Details

  • Module: HTML & CSS
  • Week: 2

Notes

  • What did you find easy? All easy

  • What did you find hard? nothing

  • What do you still not understand? nothing

  • Any other notes? -

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

@beckyf0keefe beckyf0keefe left a comment

Choose a reason for hiding this comment

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

Over all it looks like you're getting there with semantic tags, just make sure to use it for all the relevant content. The site visually was looking good so overall well done with the css, just make sure that you are using flexbox where appropriate and avoiding using ids as css selectors.
As a goal if you have time please change the hero image to a css background image and change the alt tags to be more descriptive.

Comment thread index.html Outdated
Comment on lines +33 to +52
<main>
<div class="container">
<img
class="big-image"
src="img/first-background.jpg"
alt="working with your tablet"
/>
<div class="text-container">
<h1 class="first-text">
Introducing Karma
</h1>
<h5 class="second-text">
Bring WiFi with you, everywhere you go.
</h5>
<button class="button1">
Learn More
</button>
</div>
</div>
</main>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

When we use the main tag, is should contain all the content on the page that isn't in the header or footer, where do you think the closing tag should be moved to instead?

Comment thread index.html
</head>
<col>
<!-- Nav bar -->
<header>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good use of the header semantic tag

Comment thread index.html Outdated
Comment on lines +22 to +23
<nav class="topnav">
<img class="logo" src="img/karma-logo.svg" alt="logo" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should the logo image be inside the nav tag? Nav tends to only be used for the set of links used for navigation

Comment thread index.html Outdated
Comment on lines +72 to +100
<div class="footer">
<hr>
<p>Join us on</p>
<footer>
<div class="social">
<img class="social_icon"
src="img/twitter-icon.svg"
alt="twitter"
/>
</div>
<div class="social">
<img class="social_icon"
src="img/facebook-icon.svg"
alt="facebook"
/>
</div>
<div class="social">
<img class="social_icon"
src="img/instagram-icon.svg"
alt="instagram"
/>
</div>
</footer>
<p class="footer-text">
<span>©</span>
Karma Mobility, Inc
</p>

</div>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Having a div with class name called footer and then a separate footer could get a little confusing, remember the footer should be the whole section at the bottom of the page

Comment thread index.html Outdated
<span class="sub-title">Internet for all devices</span>
</div>
<div id="item">
<img class="icon" id="thumbnail" src="img/icon-coffee.svg" alt="coffee"/>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

make sure with your alt tag describes what you are seeing, imagine you couldn't see the page, would you want someone to describe this image to you as "coffee" or as "orange line art of a steaming coffee cup"?

Comment thread css/style.css
width: 15vw;
height: 15vw;
}
#thumbnail:hover {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

good to see you using the :hover selector, it will be really important in the future

Comment thread css/style.css Outdated
text-align: center;
}

#title-main {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

try not to use ids in your css, if we make this a class then we can reuse elsewhere if we need to

Comment thread css/style.css Outdated
Comment on lines +52 to +55
.big-image {
width: 97%;
margin: 0;
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

On the image that we are recreating the hero image goes all the way across the screen, a keen eye for detail is really important to make sure that we are recreating it exactly to what the image shows

Comment thread css/style.css
font-size: 1.5vw;
}

.article-summary {
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 one way to do this but after what we learned in class last week, try to have a go at using flex-box instead to achieve the same effect

Comment thread css/style.css Outdated
Comment on lines +152 to +155
footer {
display: flex;
justify-content: center;
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

good use of flex-box

@beckyf0keefe beckyf0keefe added the reviewed A mentor has reviewed this PR label Nov 21, 2021
Based on TA`s comments, some codes are changed
Copy link
Copy Markdown
Author

@migmow migmow left a comment

Choose a reason for hiding this comment

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

Thank you @beckyf0keefe for all your comments, I really appreciate it. All updated based on your comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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