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

fix typo in links-and-images.md in html-foundations #29310

Merged
merged 2 commits into from
Jan 24, 2025
Merged
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
4 changes: 2 additions & 2 deletions foundations/html_css/html-foundations/links-and-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ attributes in image tags helps the browser layout the page without causing the p

It is a good habit to always specify these attributes on every image, even when the image is the correct size or you are using CSS to modify it.

Here is our Odin Project logo example with height and width tags included:
Here is our Odin Project logo example with height and width attributes included:

<p class="codepen" data-height="300" data-default-tab="html,result" data-slug-hash="PogmYGp" data-user="TheOdinProjectExamples" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">

Expand All @@ -292,7 +292,7 @@ Here is our Odin Project logo example with height and width tags included:

<script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>

Go ahead and update the `odin-links-and-images` project with width and height tags on the dog image.
Go ahead and update the `odin-links-and-images` project with width and height attributes on the dog image.

### Assignment

Expand Down
Loading