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

London 10 | Shahid Amin | HTML/ CSS Week 3 - #233

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

London 10 | Shahid Amin | HTML/ CSS Week 3#233
Schboostie wants to merge 2 commits into
CodeYourFuture:mainfrom
Schboostie:main

Conversation

@Schboostie

Copy link
Copy Markdown

No description provided.

@SallyMcGrath SallyMcGrath left a comment

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.

Thanks so much for your hard work! I can see you've put a lot of effort into this. A perfect 100 score on Lighthouse.

I've made a few small comments and dropped a few questions for you to think about. Take a look and have a think. And try the stretch task! It's a good exercise in refactoring and testing.

Comment thread Form-Controls/index.html
/>
</section>

<section>

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 is section doing for you here that fieldset is not? Take look in the Accessibility API to view your HTML in a different way.

https://developer.chrome.com/blog/full-accessibility-tree/

Comment thread Form-Controls/index.html
type="date"
name="delivery"
id="delivery"
min="2023-01-16"

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.

Does this meet all the requirements listed in the readme? Take another look

Comment thread Form-Controls/index.html
</form>
</main>
<footer>
<h2>By Shahid Amin</h2>

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.

Comment thread Form-Controls/styles.css
}

*,
*:before,

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
*:before,

Do you need to set box sizing rules for pseudo content when you haven't defined any pseudo content?

Comment thread Form-Controls/styles.css
margin: 3rem 20rem;
padding: 1.5rem;
height: 100%;
line-height: 2rem;

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
line-height: 2rem;
line-height: 2;

Never use length units on a line height. It will mess you up in more complex designs.

Comment thread Form-Controls/styles.css

main {
font-size: 20px;
margin: 3rem 20rem;

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 margin is pretty large. Would it make sense to set a max-width on this content and margin: auto? Why might I be suggesting this change?

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