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

London10-Bedrije Omuri -HTML-CSS- Week II#230

Open
Bedi06 wants to merge 2 commits into
CodeYourFuture:mainfrom
Bedi06:main
Open

London10-Bedrije Omuri -HTML-CSS- Week II#230
Bedi06 wants to merge 2 commits into
CodeYourFuture:mainfrom
Bedi06:main

Conversation

@Bedi06
Copy link
Copy Markdown

@Bedi06 Bedi06 commented Feb 9, 2023

No description provided.

@Bedi06 Bedi06 changed the title London10-Bedrije Omuri - Week II London10-Bedrije Omuri -HTML-CSS- Week II Feb 9, 2023
Copy link
Copy Markdown
Member

@SallyMcGrath SallyMcGrath left a comment

Choose a reason for hiding this comment

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

Nice work @Bedi06!

Thanks for your hard work here. I can see you've put some effort in. 💪 The Lighthouse score is 100.

I have made a few comments and asked a few questions. Take a look and have a think. Good luck!

Comment thread Form-Controls/index.html

<label for="delivery-date">When do you want it Delivered:</label>
<input type="date" id="delivery-date" name="delivery-date" required
min="{{ today | date: "%Y-%m-%d" }}" max="{{ fourWeeksLater | date:
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.

Suggested change
min="{{ today | date: "%Y-%m-%d" }}" max="{{ fourWeeksLater | date:
min="{{ today | date: "%Y-%m-%d" }}" max="{{ fourWeeksLater | date:

This doesn't seem like HTML code. When you tested your code, did this limit the booking window to four weeks?

(I don't think it can have. Can you talk through your approach?)

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.

No actually , it didn't.
I doesn't work unless using a server side language, i will make sure to remove it, thank you Sally

Comment thread Form-Controls/index.html Outdated
min="{{ today | date: "%Y-%m-%d" }}" max="{{ fourWeeksLater | date:
"%Y-%m-%d" }}" />

<div class="error" id="error"></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.

Suggested change
<div class="error" id="error"></div>

What is the purpose of this div? Have you copy pasted code from somewhere else?

Comment thread Form-Controls/index.html
id="name"
name="name"
required
pattern="[a-zA-Z ]{3,}"
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.

Do the requirements ask for 3 characters?

Comment thread Form-Controls/styles.css
h2 {
text-align: center;
}
input[type="text"],
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.

Why have you applied this style to the text and select, but not the email input? Can you talk through your decision there?

Comment thread Form-Controls/styles.css Outdated
border-radius: 10px;
}

.error {
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.

Where is this style applied?

Comment thread Form-Controls/styles.css
}
label {
font-weight: bold;
margin-bottom: 10px;
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.

What would happen if you removed all these padding and margin rules and just used the gap property on the parent?

Comment thread Form-Controls/index.html
</head>
<body>
<header>
<h1>Order you T-shirt here!</h1>
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.

Suggested change
<h1>Order you T-shirt here!</h1>
<h1>Order your T-shirt here!</h1>

Comment thread Form-Controls/index.html
<option value="" disabled selected>Choose a color</option>
<option value="black">Black</option>
<option value="white">White</option>
<option value="beinge">Beinge</option>
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.

Suggested change
<option value="beinge">Beinge</option>
<option value="beige">Beige</option>

You can, and should, install a spellchecker in VSCode.

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