How the Web Works HacKSU
$ ./workshop --level zero

HTML, CSS
AND THE WEB

write a page  ·  style it  ·  put it on the internet
1.  What a web page actually is
2.  The HTML tags you will use every day
3.  Enough CSS to make it look like yours
4.  A little JavaScript
5.  Getting it online
No experience assumed. No frameworks, no npm, no build step.
01 - The Three Languages HacKSU

Every Website Is Three Languages

HTML

What it is.

The words, the images, the links.

<h1>Your Name</h1>

CSS

What it looks like.

Color, size, spacing, position.

h1 { color: red; }

JavaScript

What it does.

Things that happen when you click.

alert("hi");
Today is mostly HTML. It is the part you cannot skip, and the part that is genuinely easy.
02 - What a Page Is HacKSU

A Web Page Is Just a File

index.html | | you open it v +----------------+ | browser | | reads it top | | to bottom | +----------------+ | v a web page

A file called index.html, full of text you wrote.

Double-click it and your browser shows a website. No server. No internet.

That is the whole trick. Everything else today is detail.

index.html is the special name. It is the page you get when nobody asks for a specific file.
03 - HTML HacKSU

A Tag Wraps Around Content

opening tag closing tag | | v v <p> I like building things. </p> ^ | the content

The rules

  • Tags come in pairs. <p> opens, </p> closes
  • The slash is what makes it a closing tag
  • Tags can sit inside other tags
  • A few tags stand alone, like <img>

Nesting

<p>I like <strong>pizza</strong>.</p>

Close them in the order you opened them. Inside first, outside last.

04 - HTML HacKSU

Every Page Starts the Same Way

<!DOCTYPE html>
<html>

<head>
  <title>My Page</title>
</head>

<body>

  <h1>Hello!</h1>

</body>

</html>

head

Information about the page. None of it shows up on screen. The title is the browser tab.

body

The page itself. Everything a visitor sees goes in here.

Type this once and you have a working web page. Everything from here goes inside <body>.
05 - HTML HacKSU

Headings and Paragraphs

<h1>Biggest heading</h1>
<h2>Smaller</h2>
<h3>Smaller still</h3>

<p>
  A paragraph of ordinary text.
</p>

<p>
  A second paragraph.
</p>

h1 through h6

Headings, biggest to smallest. Use one h1 per page, then h2 for each section.

p

A paragraph. Every block of normal text goes in one.

Pressing enter does nothing. HTML ignores your line breaks. If you want a new paragraph, you write a new <p>.
06 - HTML HacKSU

Lists

<ul>
  <li>HTML</li>
  <li>CSS</li>
  <li>Python</li>
</ul>


<ol>
  <li>Write the file</li>
  <li>Open it</li>
  <li>Put it online</li>
</ol>

ul - unordered

Bullet points. Use it when the order does not matter.

ol - ordered

Numbered. Use it for steps, rankings, anything where order carries meaning.

li - list item

One per line in the list. Goes inside ul or ol, never on its own.

07 - HTML HacKSU

Links and Images

a - a link

<a href="https://hacksu.com">
  HacKSU
</a>

<a href="about.html">About me</a>

<a href="mailto:me@example.com">
  Email me
</a>

href is where it goes. The text between the tags is what you click.

img - an image

<img src="photo.jpg"
     alt="A photo of me">

src is which file. alt describes it.

No closing tag. There is nothing to wrap around, so it stands alone.

alt is not optional. It is what a blind visitor's screen reader says out loud, and what shows if the image fails to load.
08 - CSS HacKSU

A Bit of CSS

h1 {
  color: darkgreen;
  font-size: 3rem;
}

p {
  color: #333;
  line-height: 1.6;
}

img {
  width: 200px;
}

Pick something, change it

The name in front is what to find. Inside the braces is what to change.

Connect it to your page

<head>
  <link rel="stylesheet"
        href="style.css">
</head>
Worth knowing today: color, background, font-size, padding, margin, width. That is enough to make a page yours.
09 - JavaScript HacKSU

A Bit of JavaScript

<h1 id="title">Hello</h1>
<button id="go">Click me</button>

<script>

  const title = document.getElementById("title");
  const go    = document.getElementById("go");

  go.addEventListener("click", function () {
    title.textContent = "You clicked it!";
  });

</script>

1. Find something

getElementById grabs a tag by its id.

2. Change it

textContent replaces the words inside it.

3. React to a click

addEventListener runs your code when something happens.

Find something, change it, react to the user. That is most of what JavaScript does on a website.
10 - Your Turn HacKSU

Your Turn - Go Play With It

Here is a portfolio site built out of the tags you just learned. Download it, open it, start changing things.

→ github.com/hacksu/starter-portfolio-2026

Start here

  • Search the files for CHANGE THIS
  • Put your own name in the h1
  • Add a project to projects.html
  • Change --accent in pages.css

Or build your own from scratch

Make an empty index.html, type the skeleton from earlier, and add tags until it looks like something. Better practice, and you know enough now.

You cannot break anything. Refresh and try again.

Take a few minutes. Get something on screen that you made. Then we will put it on the internet together.
11 - Deployment HacKSU

Putting It on the Internet

Vercel - drag the folder in

  • Go to vercel.com/new
  • Drag your folder onto the page
  • Change nothing
  • Deploy
→ your-project.vercel.app

No terminal. No Git. No build step. Drag, drop, live.

GitHub Pages

  • Put the folder in a GitHub repo
  • Settings → Pages
  • Branch main, folder / (root)
  • Save, wait a minute
→ yourname.github.io/repo/

Slower to start, but free forever and it lives next to your code.

Your page is plain files, so hosting it costs nothing. That is the payoff for not using a framework.
EOF HacKSU

QUESTIONS?

one file  ·  a few tags  ·  a live link
AUSTIN STERNBERG
linkedin  linkedin.com/in/austin-sternberg
github  github.com/Yoyojesus
learn  developer.mozilla.org
starter  github.com/hacksu/starter-portfolio-2026
deploy  vercel.com/new
$ open index.html
LinkedIn QR code
scan to connect