Tutorial 01 · Web Dev 101

Your first step into web development, explained the easy way.

No experience needed. By the end of this page you'll understand how websites are built, and you'll edit real, working code with your own hands.

Beginner friendly ⏱ ~20 minutes 🖱 Interactive activity included 💸 100% free tools
index.html
<!-- this is a real webpage --> <h1>Hello, I'm learning to code!</h1>

Hello, I'm learning to code!

↑ this line right here is what that code produces. Scroll down and you'll be writing lines just like it.

How long will this take?

This is lesson 1 of a 2-part beginner path. Here's the full time commitment, broken down.

~45 min
total path
1

Tutorial 01 · Web Dev 101

~20 min

Reading & concepts ~8 min · guided build ~7 min · playground activity ~5 min

2

Tutorial 02 · WordPress Starter

~25 min

Installing WordPress locally, and building your first page, post, and menu

No need to finish in one sitting. Your playground progress on this page is saved automatically in your browser, so you can leave and pick up right where you stopped.

Step 1 of 5 · Just getting oriented
Part 1

Every website is built from 3 ingredients

Think of building a website like building a person: a skeleton to hold everything up, skin and clothes to make it look good, and muscles to make it move.

<>

HTML

The skeleton. It tells the browser what each piece of content is: a heading, a paragraph, an image, a link.

THE STRUCTURE
{ }

CSS

The skin and clothes. It controls colors, fonts, spacing, and layout, basically how everything looks.

THE STYLE
JS

JavaScript

The muscles. It reacts to clicks, scrolling, and typing, and makes the page do things.

THE BEHAVIOR
Step 2 of 5 · The HTML, CSS & JS basics
Part 2

Build your very first webpage

Follow along on your own computer. Open Notepad (Windows) or TextEdit in plain-text mode (Mac), and type each step below in order.

Start with the HTML skeleton

Every HTML page starts with this basic shape. Type this first.

<!DOCTYPE html>
<html>
  <head>
    <title>My First Page</title>
  </head>
  <body>

  </body>
</html>
Save this file as mypage.html. Make sure it ends in .html, not .txt, or the browser won't read it correctly.

Add content inside the body

Everything visitors actually see goes between <body> and </body>. Add a heading and a paragraph.

<body>
  <h1>Welcome to my website!</h1>
  <p>This is my very first webpage. I built it myself!</p>
</body>

Style it with CSS

Add a <style> block inside <head> to control colors and fonts.

<style>
  body { font-family: Arial; text-align: center; background: #f1f5f9; }
  h1 { color: #2563eb; }
</style>

Bring it to life with JavaScript

Add a button and a <script> block so the page can respond to clicks.

<button onclick="sayHi()">Click me</button>

<script>
  function sayHi() {
    alert("You just ran your first JavaScript!");
  }
</script>
Save the file again, then double-click it to open it in your browser. Click your button. That's the full HTML + CSS + JS trio working together.
Step 3 of 5 · Ready to try it yourself
Part 3 · Activity

Now it's your turn: live code playground

Edit the code below and watch the result update instantly on the right. Nothing you do here can break anything, so experiment freely.

Live preview● running

Mini challenges

0 / 5 complete
Change the greetingIn the HTML tab, change the text inside the <h1> tag to your own name.
Change the background colorIn the CSS tab, change the background-color value of .card to any color you like.
Change the heading colorIn the CSS tab, change the color value of h1 to something new.
Round the button's cornersIn the CSS tab, add or change border-radius on the button so it looks pill-shaped.
Change what the button says when clickedIn the JS tab, edit the text inside alert(" ... ") to your own message.
🎉 All 5 challenges complete. You just edited HTML, CSS, and JavaScript by hand. That is genuinely what web developers do all day.
Step 4 of 5 · Complete all 5 challenges to unlock the finish
Almost there. Finish the 5 mini challenges above, click Check my progress, then this button unlocks.
Coming up next

You just hand-coded a page. Next: build one without code.

In the next tutorial, we'll use WordPress, the tool behind over 40% of websites on the internet, to build a full website with pages, images, and a blog. No coding required to start, and everything you learned today will make you even better at it.

01 What WordPress is, and why it's the industry standard for beginners and pros alike
02 Installing a free local WordPress site on your own computer
03 Building your first page, post, and menu

Tutorial by Rodel James Tamayo · Web Dev 101 series · Built line by line, just like you did today

Sorry!

This content is only available for Members only.

Rodel James Tamayo

available for projects
WEB DEVELOPER  ·  PROJECT LEAD  ·  IT INSTRUCTOR