Professional Business Website · Foundation · Path A
Computer, Files and Folders for a Website Project
Learn how a computer stores files, how to create and name folders, and why every website is just a folder of carefully named files.
What you need
A computer with its built-in file manager.
In this lesson you will
- Create, rename and move files and folders
- Explain file names, extensions and folder paths
Key concepts
filefolderfile extensionpathnaming rules
The lesson
A website is a folder of files: HTML files for pages, a CSS file for design, image files and sometimes JavaScript files. Browsers find each file by its exact name and folder, so organisation matters from the first day.
File names for websites should be lowercase, without spaces, using hyphens: services.html, amani-logo.png. A file called 'My Page (1).HTML' causes broken links when the site is published, because web servers treat capital letters and spaces differently from your own computer.
Every file has an extension that tells the computer what it is: .html, .css, .js, .png, .jpg. Switch on 'show file extensions' in your file manager so you always see them.
Step by step
- Open your file manager (File Explorer on Windows, Finder on macOS).
- Switch on the option to show file extensions.
- Create a folder called amani-website in Documents, and inside it folders called images, css and js.
- Create a text file, rename it index.html and check that the extension really changed.
Practice activity
Build the full empty folder structure for the project and take a screenshot showing folders, file names and extensions.
Expected result: A folder named amani-website containing images, css and js folders and an index.html file, with extensions visible.
Common mistakes
- Leaving file extensions hidden, so index.html is really saved as index.html.txt
- Saving project files to the Desktop or Downloads instead of one project folder
Check your understanding
-
Why should website file names be lowercase with no spaces?
Show answer
Web servers treat capitals and spaces differently, so mixed names cause broken links after publishing.
-
What does the .css extension tell you?
Show answer
The file contains CSS, the styling rules for the website.
Further learning
Projects are instructor-guided: an instructor sets milestones, checks your work and gives feedback, online or in person. Self-study of the public lessons does not lead to a certificate. Enrolment and fees follow the Academy's existing policies — contact the Academy.