Skip to content

Conversation

henrylin03
Copy link
Contributor

Because

The current example image for showing styles applied and overwritten styles is outdated and don't correspond to the current TOP code in the inspector...

This PR

Issue

Closes #29968
Relates to PR #30119

Pull Request Requirements

  • I have thoroughly read and understand The Odin Project curriculum contributing guide
  • The title of this PR follows the location of change: brief description of change format, e.g. Intro to HTML and CSS lesson: Fix link text
  • The Because section summarizes the reason for this PR
  • The This PR section has a bullet point list describing the changes in this PR
  • If this PR addresses an open issue, it is linked in the Issue section
  • If any lesson files are included in this PR, they have been previewed with the Markdown preview tool to ensure it is formatted correctly
  • If any lesson files are included in this PR, they follow the Layout Style Guide

copy now aligns better with the updated images and likely improves clarity for readers
@github-actions github-actions bot added the Content: Foundations Involves the Foundations content label Oct 12, 2025
![Inspector Icon](https://cdn.statically.io/gh/henrylin03/curriculum/e7ab90e044fba9f8ef9b5915c62221e2822b102b/foundations/html_css/css-foundations/inspecting-html-and-css/imgs/00.jpg)

<span id="strikethrough">When an element is selected, the Styles tab will show all the currently applied styles, as well as any styles that are being overwritten (indicated by a strikethrough of the text).</span> For example, if you use the inspector to click on the "Your Career in Web Development Starts Here" header on the [TOP homepage](https://www.theodinproject.com/home), on the right-hand side you'll see all the styles that are currently affecting the element, as seen below:
<span id="strikethrough">When an element is selected, the Styles tab will show all the currently applied styles, as well as any styles that are being overwritten (indicated by a strikethrough of the text).</span> For example, if you use the inspector to click on the "Your" in the "Your Career in Web Development Starts Here" header on the [TOP homepage](https://www.theodinproject.com/home), on the right-hand side youll see all the styles that are currently affecting the element, as seen below (don't worry about the var() syntax as that's irrelevant to this point):
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<span id="strikethrough">When an element is selected, the Styles tab will show all the currently applied styles, as well as any styles that are being overwritten (indicated by a strikethrough of the text).</span> For example, if you use the inspector to click on the "Your" in the "Your Career in Web Development Starts Here" header on the [TOP homepage](https://www.theodinproject.com/home), on the right-hand side you’ll see all the styles that are currently affecting the element, as seen below (don't worry about the var() syntax as that's irrelevant to this point):
<span id="strikethrough">When an element is selected, the Styles tab will show all the currently applied styles, as well as any styles that are being overwritten (indicated by a strikethrough of the text).</span> For example, if you use the inspector to click on the "Your" in the "Your Career in Web Development Starts Here" header on the [TOP homepage](https://www.theodinproject.com/home), on the right-hand side you’ll see all the styles that are currently affecting the element, as seen below (don't worry about the `var()` syntax as that's irrelevant to this point):

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated in 2ed9de0

In the Elements panel, you can see the entire HTML structure of your page. You can click on any of the elements in this panel to select that specific element. Alternatively, you can click on the upper-left "element select" icon (shown in the image below), then hover over any element on the page.

![Inspector Icon](https://cdn.statically.io/gh/TheOdinProject/curriculum/594984d7c9f9e744577f19ea475b3864e8cc7c91/html_css/v2/foundations/inspecting-html-and-css/imgs/01.png)
![Inspector Icon](https://cdn.statically.io/gh/henrylin03/curriculum/e7ab90e044fba9f8ef9b5915c62221e2822b102b/foundations/html_css/css-foundations/inspecting-html-and-css/imgs/00.jpg)
Copy link
Contributor

Choose a reason for hiding this comment

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

Which commit link did you use to generate these statically links? They don't seem to be the ones generated by the merge commit link as per the contributing guide.

I don't actually know if there will be potential problems in the future using the links you've used here, such as if you delete your fork or some other changes that may or may not affect the CDN, but best is to use what the instructions direct to.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hey @mao-sz - my mistake, I've updated now based on this commit: e7ab90e so the statically URLs should be correct now - can you check and let me know if it's not right? Thanks!

use correct commit (SHA e7ab90e) for usage in statically converter to get URL for the CDN images
assure reader that seeing var() syntax is something they can just ignore for now. I think these are referring to CSS variables which haven't been covered yet?
@henrylin03 henrylin03 requested a review from mao-sz October 19, 2025 21:29
@mao-sz
Copy link
Contributor

mao-sz commented Oct 20, 2025

The other image link needs amending too but ince that's done, we should be good to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content: Foundations Involves the Foundations content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inspecting HTML and CSS: The example image for showing styles applied and overwritten styles is outdated and do not corresponds to current code of TOP

2 participants