Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NW6 |Sabella-Fisseha | HTML-CSS | bike-for-refugee | week1 #474

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Sabella-8
Copy link

NW6/Sabella Goytom Fisseha

@netlify
Copy link

netlify bot commented Sep 22, 2023

Deploy Preview for cyf-bfr ready!

Name Link
🔨 Latest commit 27b53f4
🔍 Latest deploy log https://app.netlify.com/sites/cyf-bfr/deploys/6513bb1b601b9b0008ac60a6
😎 Deploy Preview https://deploy-preview-474--cyf-bfr.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Sabella-8 Sabella-8 changed the title sabella-bike-for-refugee NW6/Sabella-bike-for-refugee Sep 23, 2023
@Sabella-8 Sabella-8 changed the title NW6/Sabella-bike-for-refugee NW6 |Sabella-Fisseha | HTML-CSS | bike-for-refugee | week1 Sep 27, 2023
@JayMayer
Copy link
Member

JayMayer commented Oct 1, 2023

This looks great Sabella! You've completed all of the tasks and the stretch goal as well 🌟

I've left a few comments on the code changes to help your HTML be even more semantic 😄

@@ -20,160 +20,165 @@
</head>

<body>
<div class="header">
<section class="header">
Copy link
Member

@JayMayer JayMayer Oct 1, 2023

Choose a reason for hiding this comment

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

There's a dedicated HTML element called <header> that is great to use here. This would help to reduce the number of CSS classes you need to use as well, as you could directly reference your header element

/>
</a>

<section>
Copy link
Member

Choose a reason for hiding this comment

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

Like the <header>, we also have a dedicated element for navigation called <nav>

<section>
<h2 class="heading-underline">Learn more</h2>

<section id="art">
Copy link
Member

Choose a reason for hiding this comment

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

This would be a great place to use the <article> element


<div class="footer">
<div class="footer__content">
<section class="footer">
Copy link
Member

Choose a reason for hiding this comment

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

We have <footer> available to use here

</section>

<section class="content">
<section class="main">
Copy link
Member

Choose a reason for hiding this comment

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

As a rule of thumb, try to keep <section> elements only for blocking out sections of your web page. The MDN Web Docs page suggest only using a section where you can use a heading element (<h1>, <h2>, etc.), with a few exceptions for grouping together content.

For example, on this page you could use a <section> for "Learn more" and "Upcoming events". And you might also use a <section> to separate out the 'hero' area of the page - even if that doesn't have a dedicated heading.

Elsewhere, you can use <div> sections to add styles to the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants