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

Update readme.md #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions The-one-and-only-week1/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Order form exercise
Copy link
Contributor

Choose a reason for hiding this comment

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

It's confusing to have two H1 titles next to each other. Maybe move "Order form exercise" below the html best practices section?


# HTML & CSS Best Practices Exercise

## HTML Best Practices

- **HTML Element Structure**
- Use semantic elements like `<main>`, `<section>`, `<header>`, and `<footer>` and smaller elements like `<div>`, `<h1>`, `<p>`, `<form>`, and `<input>`.

- **Form Elements**
- Focus on various `<input>` types: `text`, `number`, `tel`, `email`, and `checkbox`.
- Implement attributes like `required` to ensure proper form validation.
- Learn how to wrap elements like `<img>` and `<input type="checkbox">` in a container to trigger checkbox selection via image click.

## CSS Best Practices

- **Class Naming and Structure**
- Use meaningful class names and structure for maintainable CSS.
- Target child elements efficiently using parent class selectors.

- **Flexbox Layout**
- Utilize CSS Flexbox for creating flexible and responsive layouts.

- **Responsive Design**
- Apply responsive design principles using media queries and flexible grid systems.


Use the `Session-exercise-template` to get started!

Design:
Expand Down