What is a website?
A website is like an online page or a set of pages you can visit using the internet. When you open your browser and type in a website address (also called a URL), your computer connects to a special computer called a server that stores the website's files.
How do websites work?
Websites are made up of text, pictures, and sometimes videos or games. To make and show these things, websites use a few main technologies:
- HTML (HyperText Markup Language): This is the basic building block of web pages. It gives the structure of the content, like headings, paragraphs, and lists.
- CSS (Cascading Style Sheets): This styles the page, adding colors, fonts, spacing, and layouts, so the site looks nice.
- JavaScript: This lets the page do interactive things, like games, buttons that work when clicked, or changing content without reloading the page.
Step by step, what happens when you visit a website?
- You type the website address into your browser.
- Your browser sends a request to the server where the website is stored.
- The server sends back the HTML file for the website.
- Your browser reads the HTML, then loads any CSS and JavaScript files.
- Your browser displays the page on your screen.
Why learn web development?
Learning how websites are made lets you create your own pages, games, or apps. It’s a useful skill and can be really fun!
If you want, I can help with simple exercises to get started making your own web pages.