Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Commit fe0695d

Browse files
authored
feat: Dev tools page (#763)
#### Description A short note covering dev tools at the end of the web guide.
1 parent 200c66d commit fe0695d

4 files changed

Lines changed: 40 additions & 0 deletions

File tree

astro.sidebar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ export const sidebar = [
164164
label: 'Grid',
165165
link: 'guides/web/html-css-intro/9-grid/',
166166
},
167+
{
168+
label: 'Dev Tools',
169+
link: 'guides/web/html-css-intro/10-devtools/',
170+
},
167171

168172
],
169173
collapsed: true,

src/assets/web/chromedevtools.png

61.6 KB
Loading

src/assets/web/firefoxdevtools.png

61.7 KB
Loading
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Dev Tools
3+
description: Learning about the basics of HTML & CSS
4+
---
5+
6+
In your browser, you can open dev tools by pressing either <kbd>F12</kbd> or <kbd>right click</kbd> < <kbd>inspect</kbd>.
7+
8+
Dev tools allows you to edit pages on the fly to preview changes, view how your stylesheet attributes affect the page, view debug logs, and view pages from different device aspect ratios.
9+
10+
And *much* more.
11+
12+
| Firefox Dev Tools Menu | Chrome Dev Tools Menu |
13+
|------------------------------------------------------|------------------------------------------------------|
14+
|![Firefox Dev Tools](src/assets/web/firefoxdevtools.png)|![Chrome Dev Tools](src/assets/web/chromedevtools.png)|
15+
16+
17+
While the menu may look overwhelming at first, you will become familiar with it quickly. It's a powerful tool for debugging problems, and the best way to learn it is to use it.
18+
19+
For web development, the most important tools are the inspector, styles, and layout menus.
20+
21+
Using dev tools as you make your website will also teach you a lot about how the browser renders content from HTML and CSS files, much more than you can learn by reading.
22+
23+
Have fun!
24+
25+
:::tip[More info]
26+
For more information on your dev tools menu, view their documentation.
27+
28+
Mozilla Firefox: [Dev tools documentation](https://firefox-source-docs.mozilla.org/devtools-user/)
29+
30+
Google Chrome: [Dev tools documentation](https://developer.chrome.com/docs/devtools/overview)
31+
:::
32+
33+
:::note[Congratulations!]
34+
You've made it through the intro guide for HTML & CSS! If you're going to keep making websites, [Click here](../..) to visit our HTML reference sheet. It contains almost
35+
all the information we learned in this guide without the lengthy explanations. Happy making!
36+
:::

0 commit comments

Comments
 (0)