WEBVTT

00:00:00.000 --> 00:00:02.301
Think of a web page as a small house.

00:00:02.301 --> 00:00:04.603
HTML gives the content its structure.

00:00:04.603 --> 00:00:07.570
CSS controls how things look and where they sit.

00:00:07.570 --> 00:00:11.386
JavaScript adds behavior that responds to a visitor’s actions.

00:00:11.386 --> 00:00:16.352
Structure, presentation, and interaction work together, with different jobs to do.

00:00:17.583 --> 00:00:21.004
A very small page can contain just a heading and a paragraph.

00:00:21.004 --> 00:00:23.543
The heading element marks an important title.

00:00:23.543 --> 00:00:26.688
The paragraph element contains a block of ordinary text.

00:00:26.688 --> 00:00:29.612
These elements do more than change how a page looks.

00:00:29.612 --> 00:00:32.151
They also describe the meaning of its content.

00:00:33.375 --> 00:00:36.818
Once the structure is there, add a little personality with CSS.

00:00:36.818 --> 00:00:41.015
Change the heading to green and give the paragraph a comfortable line height.

00:00:41.015 --> 00:00:44.082
Make the content easy to read before adding decorations.

00:00:44.082 --> 00:00:47.633
Change one property at a time and notice what happens on the page.

00:00:48.833 --> 00:00:53.666
Now create a file called index dot HTML and add your own heading and introduction.

00:00:53.666 --> 00:00:55.645
Save it and open it in a browser.

00:00:55.645 --> 00:00:58.324
Make a small change, save again, and refresh.

00:00:58.324 --> 00:01:02.982
This simple cycle is the first step toward understanding how web pages are made.
