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

London 9-Leila Farsani-HTML / CSS Project 1-Week 2 - #270

Open
leilafarsani wants to merge 4 commits into
CodeYourFuture:masterfrom
leilafarsani:master
Open

London 9-Leila Farsani-HTML / CSS Project 1-Week 2#270
leilafarsani wants to merge 4 commits into
CodeYourFuture:masterfrom
leilafarsani:master

Conversation

@leilafarsani

@leilafarsani leilafarsani commented Oct 28, 2022

Copy link
Copy Markdown

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: Leila Farsani
  • Your City: London
  • Your Slack Name: Leila Farsani

Homework Details

  • Module: HTML / CSS Project 1
  • Week: 2

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?


View rendered README.md

@jonnywyatt jonnywyatt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good! Lots of good use of page structure.

Comment thread index.html
<!-- Remember: Use semantic HTML tags like <header>, <main>, <nav>, <footer>, <section> etc -->
<header>
<h1>Mathsli</h1>
<h3>Do you love Maths? </h3>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There's no content below this heading, so it makes more sense as a <div /> or a <p />

Comment thread index.html
</header>
<main>
<section>
<article class="article1">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

article is suitable for content that will be shown on other web sites eg newspaper articles or blog posts

Comment thread index.html
<main>
<section>
<article class="article1">
<h1>About Mathsli</h1>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There should only be one h1 on each page. Use it to wrap the title that best describes what the page is about

Comment thread index.html
<article class="article1">
<h1>About Mathsli</h1>
<h4>Mathsli helps you to learn and love Maths.</h4>
<img src="https://clipartion.com/wp-content/uploads/2015/11/what-are-the-top-biggest-brain-damaging-habits-magical-maths.jpg"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

For a content image like this, set alt text to something that describes the image (eg 'A picture of a human brain working like a mechanical machine' or something)

Comment thread index.html
<h2>
We are here to help.
</h2>
<button><a href="#">More About US</a></button>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

It's invalid to wrap a in button. If it looks like a button, but it acts like a link, just use a and style it like a button using CSS

Comment thread index.html
<h4>Mathsli helps you to learn and love Maths.</h4>
<img src="https://clipartion.com/wp-content/uploads/2015/11/what-are-the-top-biggest-brain-damaging-habits-magical-maths.jpg"
alt="">
<h2>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think this is a good choice & correct as h2 because it's the next level down from the preceding heading (h1) and has content after it 👍

Comment thread index.html
We are here to help.
</h2>
<button><a href="#">More About US</a></button>
<h3>

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 isn't a heading, it doesn't have content after it, better as a p

Comment thread index.html
</article>
<section>
</main>
<textarea name="comment"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Every form element should have a label associated with it, to help screen reader users. A placeholder isn't a good substitute as it disappears when the user clicks on the input box.

Comment thread css/style.css
}

.items:first-child > a{
color: var();

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 will have no effect

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