Skip to content

london8-week2#290

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

london8-week2#290
Alirezabg wants to merge 2 commits into
CodeYourFuture:masterfrom
Alirezabg:master

Conversation

@Alirezabg

Copy link
Copy Markdown
Member

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?

@LucyMac LucyMac added the LDN-8 London class #8 (start Nov 2021) label Nov 18, 2021
Comment thread Store.html
<header>

<img class="logo-img" src="img/karma-logo.svg" alt="karma-logo"/>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @Alirezabg, one of the objectives for this homework is to become comfortable with HTML nesting and indentation, so it would be great if you practice it from the very first sessions of the course :)
Please remove all of the extra spaces from here.

Comment thread Store.html
</li>
</ul>
</div>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

please delete extra space here as well

Comment thread Store.html
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you delete the extra spaces and comments from line 14 until line 21

Comment thread Store.html
<div>
<ul class='container'>
<li class='con-list'>
<a class='con-link' href="#">Meet Karma</a>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Alirezabg please use more meaningful classes names, I do not understand what does con-list or con-link mean, one of the objectives for this home work is using the meaningful names for your class names, please think about better and more meaningful names.

Comment thread Store.html
<main>
<section class="store-section">

<DIV>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be <div></div>

Comment thread css/store.css
@@ -0,0 +1,78 @@
.but{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

having 2 different CSS files is confusing, you should just have one CSS file and put all of your classes in that file.you can use either of these 2 files.

Comment thread Store.html

<DIV>
<img class="store-img" src="img/store-image_by-andrew-neel-unsplash.jpg" alt=""/>

@ellietms ellietms Nov 28, 2021

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

for images, always wrap them inside a div (as their parent) then give that div whatever width you want (e.g. 40% or 500px), and give the img (which was wrapped with div) the width 100%(usually by percentage).
you should have a class for the div and just have a width for the class of this img ( you should not use height)

Comment thread Store.html
<img class="store-img" src="img/store-image_by-andrew-neel-unsplash.jpg" alt=""/>

</DIV>
<DIV class="store-form">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you wrapped everything inside of this div( div which has store-form class) and you have different classes for most of the elements inside of this div, inside these classes: form-header column-form row-form you used display: flex,flex-direction, etc.
instead of doing this and the right way for using the flex-box is you should always write display: flex inside of a class of the parent which means you just need to use display: flex inside of the wrapper class (div) and delete the display: flex for all of the element's classes which were wrapped by this div and just specified the flex-direction or other flex features you want in the classes of the elements.

Comment thread Store.html
@@ -0,0 +1,154 @@
<!DOCTYPE html>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@Alirezabg

🥳 overall well done for using :

  1. semantic form elements
  2. using flex-boxes

🤔 What you need to improve:

  1. well-named CSS classes
  2. using HTML nesting and indentation
  3. using flex-box for parents elements and work more on how to use different classes for parent and the child elements

Comment thread Store.html
</div>
<div class="column-form">
<label for="lastname">Last name *</label>
<input type="text" id="lastname" name="lastname" required>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you can add some classes for your input, to make it look a little bit better( maybe make it a little bit smaller and change the width of it?)

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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants