Welcome back, young explorer! In Module One, you learned what web file management is. You learned that a file is information stored on a computer with a name. You learned that a folder is a container that holds files. You learned that websites use many types of files, and that the client asks while the server answers.
Now it is time to learn two very important skills: naming files properly and organising them into folders.
These two skills are the foundation of good web file management. If you name your files well and put them in the right folders, your website will work smoothly. If you name them badly and scatter them everywhere, your website will break.
Imagine you have a huge library with thousands of books. If the books have no titles on the cover and are thrown randomly on the floor, you will never find the one you want. But if every book has a clear title and sits on the right shelf, you can find any book in seconds. File naming and folder structure are exactly like that for websites.
By the end of this module, you will be able to name any file properly and design a clean folder structure for any website project.
Let us begin. Your files are waiting to be organised!
By the end of this module, you will be able to:
Ada is a thirteenβyearβold girl who lives in Abuja, Nigeria. She loves photography. She takes photos of her family, her school events, and the beautiful streets of her city.
One day, Ada decided to build a photography website. She wanted to share her best photos with the world. She was very excited.
She opened her computer and started uploading photos. But she was in a hurry. She did not name her files carefully. She did not organise them into folders.
Her website folder looked like this:
Ada's Messy Folder: +-----------------------------+ | IMG_001.jpg | | IMG_002.jpg | | photo.jpg | | final.jpg | | final final.jpg | | newpic.jpg | | asdfgh.jpg | | DSC_9843.JPG | | my photo!.jpg | | school event photo.jpg | +-----------------------------+
When Ada opened her website, things went wrong. Some photos did not show. Some links were broken. The website looked messy.
Ada felt sad. She called her older brother, Chidi, who worked as a web designer.
"Chidi," said Ada, "my website is a disaster. The photos are not showing."
Chidi looked at her folder and laughed gently. "Ada," he said, "your problem is not the photos. Your problem is the names and the folders."
"What do you mean?" asked Ada.
"Look at these file names," said Chidi. "IMG_001.jpg tells us nothing. final final.jpg has spaces and repeated words. my photo!.jpg has a space and an exclamation mark. This is a mess."
Ada sighed. "I did not know names mattered."
"They matter a lot," said Chidi. "Good names make files easy to find. Bad names cause confusion. And folders? You need folders."
Chidi showed Ada how to rename her files and organise them into folders:
Ada's Organised Folder: +-----------------------------+ | index.html | | images/ | | family/ | | family_portrait_2025.jpg | family_holiday_abuja.jpg | school/ | | school_sports_day.jpg | | school_graduation.jpg | | city/ | | abuja_street_01.jpg | | abuja_sunset.jpg | +-----------------------------+
When Ada reopened her website, everything worked perfectly. The photos showed. The pages loaded fast. The website looked professional.
"I cannot believe the difference!" said Ada.
"Names and folders," said Chidi. "Never underestimate them."
Ada learned her lesson. From that day, she always named her files carefully and organised them into folders.
Now it is your turn. Are you ready to learn file naming and folder structure?
Definition: File naming is the practice of giving files clear, consistent, and useful names.
Why it is important: Good names help you find files quickly. They also help servers, browsers, and search engines understand your files.
Simple explanation: Imagine you have two bottles in your kitchen. One is labelled "Salt." The other is labelled "White stuff." Which one would you trust? A clear name tells you exactly what is inside. File names work the same way.
Real-life example: A photographer names photos like "wedding_lagos_2025_01.jpg" instead of "IMG_9234.jpg."
School example: A student names an assignment "maths_homework_chapter4.docx" instead of "hw.docx."
Home example: A family names budget files "family_budget_march_2025.xlsx" instead of "budget new.xlsx."
Nigerian example: A trader names product photos "ankara_blue_dress_01.jpg" instead of "photo3.jpg."
Illustration:
Bad Name: Good Name: +----------------+ +----------------------+ | hw.docx | | maths_hw_ch4.docx | +----------------+ +----------------------+ | Confusing | | Clear and useful | +----------------+ +----------------------+
Mini summary: File names matter. They help you, servers, browsers, and search engines understand what is inside.
Definition: There are simple rules for naming files. Following them keeps your files clean and working.
Why it is important: Some names break websites. Others slow them down. Following the rules prevents problems.
Simple explanation: Imagine writing a letter. If you use neat handwriting, people can read it. If you scribble, nobody understands. Naming files neatly is the same.
Real-life example: A web developer names files "about_us.html" instead of "About Us!.html."
School example: A teacher names the class list "class8_students_2025.xlsx."
Home example: A family names their holiday photo "holiday_abuja_2025_01.jpg."
Nigerian example: A business names its logo "company_logo_lagos.png" instead of "LOGO FINAL!!.png."
Illustration:
Rules for Naming Files: +-------------------------------+ | 1. Use lowercase letters | | 2. Use underscores (_) | | 3. Avoid spaces | | 4. Avoid special characters | | 5. Be descriptive | | 6. Keep names short | | 7. Include dates if useful | +-------------------------------+
| Rule | Bad Example | Good Example |
|---|---|---|
| Use lowercase | Logo.PNG | logo.png |
| Use underscores | about us.html | about_us.html |
| Avoid spaces | my photo.jpg | my_photo.jpg |
| Avoid special characters | photo!.jpg | photo.jpg |
| Be descriptive | img_001.jpg | abuja_sunset.jpg |
| Keep names short | this_is_a_very_long_name_for_a_simple_file.jpg | simple_file.jpg |
| Include dates if useful | report.pdf | report_2025_03.pdf |
Mini summary: Follow simple rules for naming files: lowercase, underscores, no spaces, no special characters, be descriptive, keep it short.
Definition: A file extension is the letters at the end of a file name after the dot. It tells the computer what type of file it is.
Why it is important: The extension tells the computer how to open the file. Wrong extensions cause errors.
Simple explanation: Imagine labels on jars in a kitchen. "Sugar," "Salt," "Pepper." The label tells you what is inside. A file extension is the same. ".jpg" means image. ".html" means web page.
Real-life example: A photo has ".jpg" at the end. A web page has ".html" at the end.
School example: A homework file has ".docx" at the end.
Home example: A family budget has ".xlsx" at the end.
Nigerian example: A product photo has ".jpg" at the end.
Illustration:
File Name with Extension:
+-------------------+
| sunset.jpg |
+-------------------+
|
V
.jpg is the extension
|
V
Tells the computer: "This is an image."
| Extension | Meaning | Example |
|---|---|---|
| .html | Web page | index.html |
| .css | Style sheet | style.css |
| .js | JavaScript file | script.js |
| .jpg / .png | Image | logo.png |
| .mp4 | Video | intro.mp4 |
| .mp3 | Audio | song.mp3 |
| Document | report.pdf | |
| .json | Data file | data.json |
Mini summary: The extension tells the computer what type of file it is. Always use the correct extension.
Definition: Web pages are HTML files with clear names that describe the page content.
Why it is important: Web page names become part of the website's URL. Good names help visitors and search engines understand the page.
Simple explanation: Imagine a book with chapter titles. If the titles are clear, you know what each chapter is about. Web page names work the same way.
Real-life example: A website has pages called "about.html," "contact.html," and "services.html."
School example: The school website has pages called "admission.html," "events.html," and "staff.html."
Home example: A family blog has pages called "home.html," "photos.html," and "stories.html."
Nigerian example: A business website has pages called "products.html," "prices.html," and "contact.html."
Illustration:
Web Page Names: +-------------------+ | index.html | <-- homepage | about.html | <-- about page | contact.html | <-- contact page | products.html | <-- products page +-------------------+
| Page | Good Name | Bad Name |
|---|---|---|
| Homepage | index.html | homepage final.html |
| About Us | about.html | About Us!.html |
| Contact | contact.html | contact page new.html |
| Products | products.html | prod list v3.html |
Mini summary: Web page names should be short, clear, and describe the page content.
Definition: Image names are the file names given to pictures used on a website.
Why it is important: Image names help search engines find your images. They also help you identify images quickly.
Simple explanation: Imagine you have a box of photos with no labels. You cannot tell what each photo shows without looking. Image file names are the labels.
Real-life example: A photographer names photos "wedding_lagos_2025_01.jpg" instead of "IMG_001.jpg."
School example: A teacher names class photos "class8_2025_group.jpg."
Home example: A family names holiday photos "holiday_abuja_2025_01.jpg."
Nigerian example: A trader names product photos "ankara_blue_dress_front.jpg."
Illustration:
Image Names: +-----------------------------+ | Bad: | | IMG_001.jpg | | photo.jpg | | DSC_9843.jpg | +-----------------------------+ | Good: | | wedding_lagos_2025_01.jpg | class8_group_2025.jpg | | ankara_blue_dress.jpg | +-----------------------------+
| Image | Good Name | Bad Name |
|---|---|---|
| School logo | school_logo.png | logo final.png |
| Class photo | class8_group_2025.jpg | IMG_3857.jpg |
| Product photo | ankara_blue_front.jpg | photo1.jpg |
| Holiday photo | holiday_abuja_2025.jpg | DSC_9823.jpg |
Mini summary: Image names should describe what the image shows. This helps search engines and helps you find images.
Definition: CSS and JavaScript files have their own naming conventions. They should be short and clear.
Why it is important: These files control the look and behaviour of a website. Clear names help developers find them quickly.
Simple explanation: Imagine you have tools in a toolbox. If the hammer has no label, you cannot find it. CSS and JS file names are the labels on the tools.
Real-life example: A website has a file called "style.css" for styling and "script.js" for behaviour.
School example: The school website has "school.css" for its colours and "menu.js" for the menu.
Home example: A family blog has "blog.css" and "gallery.js."
Nigerian example: A business website has "shop.css" and "cart.js."
Illustration:
CSS and JS File Names: +-----------------------------+ | style.css <-- main style | | school.css <-- specific | | script.js <-- main scripts | | menu.js <-- specific | +-----------------------------+
| File Purpose | Good Name | Bad Name |
|---|---|---|
| Main styles | style.css | styles final.css |
| School styles | school.css | school style new.css |
| Main scripts | script.js | scripts old.js |
| Menu scripts | menu.js | menu final v2.js |
Mini summary: CSS and JavaScript file names should be short, lowercase, and descriptive.
Definition: A folder structure is the way folders are arranged inside each other to organise files.
Why it is important: A good folder structure keeps files organised and easy to find. It also helps the website work correctly.
Simple explanation: Imagine a school with classrooms. Each class has its own room. The library is in a separate building. The sports field is outside. A website folder structure is similar: each type of file has its own folder.
Real-life example: A news website has folders for "articles," "photos," and "videos."
School example: The school website has folders for "admission," "events," and "staff."
Home example: A family blog has folders for "photos," "videos," and "stories."
Nigerian example: A business website has folders for "products," "prices," and "reviews."
Illustration:
Folder Structure: +---------------------------+ | website/ | | +-- index.html | | +-- about.html | | +-- css/ | | | +-- style.css | | +-- js/ | | | +-- script.js | | +-- images/ | | | +-- logo.png | | +-- pages/ | | +-- contact.html | +---------------------------+
Mini summary: A folder structure organises files into folders. Each type of file has its own folder.
Definition: Most websites have the same basic folders: root, css, js, images, and pages.
Why it is important: Using standard folder names helps you and others understand the structure.
Simple explanation: Imagine a school with standard rooms: classroom, library, sports field. Every website has standard folders: css, js, images. These are like the standard rooms of a website.
Real-life example: A developer creates folders called "css," "js," and "images" for every new website.
School example: A student creates folders for each subject: "maths," "english," "science."
Home example: A family creates folders for "photos," "videos," and "documents."
Nigerian example: A business creates folders for "products," "customers," and "orders."
Illustration:
Standard Website Folders: +---------------------------+ | website/ | | +-- index.html | <-- root | +-- css/ | <-- styles | +-- js/ | <-- scripts | +-- images/ | <-- pictures | +-- pages/ | <-- other pages +---------------------------+
| Folder | Purpose | Example Contents |
|---|---|---|
| Root | Top-level files | index.html, about.html |
| css/ | Stylesheets | style.css, school.css |
| js/ | Scripts | script.js, menu.js |
| images/ | Pictures | logo.png, banner.jpg |
| pages/ | Other HTML pages | contact.html, services.html |
Mini summary: Every website needs at least: root, css, js, images, and pages folders.
Definition: Subfolders are folders inside folders. They help organise images into smaller groups.
Why it is important: A website with many images needs subfolders. Otherwise, the images folder becomes messy.
Simple explanation: Imagine a school with classrooms numbered 1 to 100. It is easier to find a class if rooms are grouped by floor. Subfolders group images by topic.
Real-life example: A photography website has subfolders for "weddings," "portraits," and "landscapes."
School example: A school website has subfolders for "sports," "events," and "students."
Home example: A family blog has subfolders for "holidays," "birthdays," and "school."
Nigerian example: A business website has subfolders for "ankara," "lace," and "shoes."
Illustration:
Images with Subfolders: +-------------------------------+ | images/ | | +-- school/ | | | +-- sports_day.jpg | | | +-- graduation.jpg | | +-- family/ | | | +-- holiday_abuja.jpg | | | +-- birthday_ada.jpg | | +-- city/ | | +-- abuja_sunset.jpg | +-------------------------------+
| Type of Website | Suggested Subfolders |
|---|---|
| Photography | weddings/, portraits/, landscapes/ |
| School | sports/, events/, students/ |
| Business | products/, services/, team/ |
| Blog | photos/, videos/, illustrations/ |
Mini summary: Subfolders group images into smaller, more organised sets.
Definition: The root folder is the top-level folder that holds everything for the website.
Why it is important: The root folder is the starting point for all other folders and files.
Simple explanation: Imagine a house. The root folder is the front door. Inside, there are rooms (folders) and furniture (files).
Real-life example: A website's root folder is called "website" or the website name.
School example: The school website's root folder might be called "school_website."
Home example: A family blog's root folder might be called "family_blog."
Nigerian example: A business website's root folder might be called "shop_website."
Illustration:
Root Folder: +---------------------------------+ | my_website/ <-- root folder | | +-- index.html | | +-- about.html | | +-- css/ | | +-- js/ | | +-- images/ | +---------------------------------+
Mini summary: The root folder holds everything for the website. It is the starting point.
Definition: The homepage is the first page visitors see. In most websites, it is saved as "index.html."
Why it is important: Servers look for "index.html" by default. If the file is missing, the homepage does not show.
Simple explanation: Imagine a shop with a front door. If the front door is missing, customers cannot enter. The "index.html" file is the front door of a website.
Real-life example: When you visit "example.com," the server shows "index.html."
School example: When parents visit the school website, "index.html" shows first.
Home example: When relatives visit your family blog, "index.html" shows first.
Nigerian example: When customers visit an online shop, "index.html" shows first.
Illustration:
index.html is the Homepage: +-------------------------------+ | website/ | | +-- index.html <-- first! | | +-- about.html | | +-- contact.html | +-------------------------------+
Mini summary: "index.html" is the homepage. Servers look for it by default.
Definition: SEO stands for Search Engine Optimisation. It means making your website easy for search engines to find and rank.
Why it is important: Good folder structures and names help search engines understand your website.
Simple explanation: Imagine a library. If books are organised by topic and have clear titles, it is easy to find any book. Search engines work the same way. Clear folders and names help them find your website.
Real-life example: A blog uses folders like "recipes/jollof_rice.html" so Google understands the topic.
School example: The school uses "admission/forms.html" so parents find admission forms easily.
Home example: A family blog uses "photos/holiday_abuja.html" for clear structure.
Nigerian example: A business uses "products/ankara.html" so customers can find Ankara products easily.
Illustration:
SEO-Friendly Structure: +-------------------------------+ | website/ | | +-- products/ | | | +-- ankara.html | | | +-- lace.html | | +-- about/ | | | +-- team.html | +-------------------------------+
| Good for SEO | Bad for SEO |
|---|---|
| products/ankara.html | p1.html |
| about/team.html | about_final_new.html |
| images/ankara_blue.jpg | IMG_3847.jpg |
Mini summary: Clear folders and names help search engines find and rank your website.
Definition: Accessibility means making your website easy for everyone to use, including people with disabilities.
Why it is important: Clear file names and folder structures help screen readers and other tools work properly.
Simple explanation: Imagine a school with no ramps for wheelchairs. Some students cannot enter. Accessibility in websites is about making sure everyone can use them.
Real-life example: A website names images "school_building_entrance.jpg" so screen readers can describe them.
School example: The school website uses clear file names so visually impaired parents can navigate easily.
Home example: A family blog uses descriptive names so elderly relatives can find what they need.
Nigerian example: A business website uses clear names so customers with disabilities can shop easily.
Illustration:
Accessible File Names: +-------------------------------+ | Good: | | school_building.jpg | | student_reading.jpg | +-------------------------------+ | Bad: | | DSC_3847.jpg | | IMG_0923.jpg | +-------------------------------+
Mini summary: Clear file names help accessibility tools work properly.
Definition: Common mistakes are errors that people often make when organising folders.
Why it is important: Knowing these mistakes helps you avoid them.
Simple explanation: Imagine packing a suitcase. If you throw everything in without folding, it will be a mess. Folder mistakes are like that.
Real-life example: A developer puts all files in one folder. It becomes impossible to find anything.
School example: A student saves all assignments in one folder with random names.
Home example: A family saves all photos in one folder without subfolders.
Nigerian example: A trader saves all product photos in one folder without separating categories.
Illustration:
Common Folder Mistakes: +-------------------------------+ | 1. Everything in one folder | | 2. No subfolders for images | | 3. Duplicate folders | | 4. Deeply nested folders | | 5. Inconsistent folder names | +-------------------------------+
| Mistake | Why It Is a Problem | How to Fix It |
|---|---|---|
| Everything in one folder | Hard to find files | Create folders by type |
| No subfolders for images | Images folder becomes cluttered | Create subfolders by topic |
| Duplicate folders | Confusion and wasted space | Keep one copy of each folder |
| Deeply nested folders | Hard to navigate | Keep folders 2β3 levels deep |
| Inconsistent folder names | Confusion | Use the same naming style |
Mini summary: Avoid common folder mistakes. Keep your folders simple and consistent.
Definition: Putting it all together means designing a complete file naming and folder structure plan for a website.
Why it is important: A good plan prevents problems. It makes your website easier to build and maintain.
Simple explanation: Imagine you are building a house. Before you start, you draw a plan. Building a website needs a plan too. The plan includes file names and folder structure.
Real-life example: A web developer creates a plan before starting any website project.
School example: A student plans the folder structure for a school project.
Home example: A family plans the structure for a family blog.
Nigerian example: A trader plans the folder structure for an online shop.
Illustration:
Complete Plan: +-------------------------------+ | 1. Choose root folder name | | 2. Create standard folders | | 3. Create subfolders | | 4. Name all files clearly | | 5. Follow naming rules | | 6. Document the structure | +-------------------------------+
Mini summary: A complete plan includes root folder, standard folders, subfolders, and clear file names.
| Word | Simple Definition |
|---|---|
| File Naming | Giving files clear, useful names. |
| File Extension | The letters after the dot in a file name. |
| Folder Structure | The way folders are arranged inside each other. |
| Root Folder | The top-level folder for a website. |
| Subfolder | A folder inside another folder. |
| index.html | The default homepage file. |
| SEO | Search Engine Optimisation: making websites easy for search engines to find. |
| Accessibility | Making websites easy for everyone to use. |
| Naming Convention | A consistent way of naming files. |
| Directory | Another word for folder. |
| Path | The location of a file or folder. |
| Lowercase | Small letters, like a, b, c. |
| Underscore | The _ symbol used instead of spaces. |
| Special Character | Symbols like !, #, %, &. |
| Nested | Placed inside another folder. |
Clear file names help you, servers, browsers, and search engines find files.
Use lowercase, underscores, no spaces, no special characters.
Folders keep files grouped and easy to find.
Use css, js, images, and pages folders for every website.
Servers look for index.html by default.
Clear folders and names help search engines rank your website.
Clear names help screen readers and other tools work properly.
Plan your folder structure and file names before starting a project.
A school in Lagos uses folders: "admission," "events," and "staff." Files are named "admission_form_2025.pdf" and "event_sports_day.jpg."
A shop in Abuja uses folders: "products," "prices," and "reviews." Files are named "ankara_blue_front.jpg" and "price_list_2025.pdf."
A news website in Port Harcourt uses folders named by date: "2025_03_15." Files are named "headline.html" and "photo_01.jpg."
A family blog uses folders: "photos," "videos," and "stories." Files are named "birthday_ada_2025.jpg" and "story_holiday_abuja.html."
A trader at Balogun Market has folders for "ankara," "lace," and "shoes." Files are named "ankara_blue_dress_01.jpg" and "lace_gold_02.jpg."
A student in Ibadan has folders for each subject. Files are named "chemistry_notes_ch4.pdf" and "maths_practice_2025.docx."
A youth corper in Enugu has folders for "reports," "photos," and "forms." Files are named "report_march_2025.pdf."
A small business owner has folders for "products," "customers," and "orders." Files are named "product_list_2025.xlsx."
You have folders for "barcelona," "chelsea," and "arsenal." Files are named "messi_barcelona.jpg" and "drogba_chelsea.jpg."
You have folders for "wins," "losses," and "funny." Files are named "win_2025_03_15.jpg."
You have folders for "maths," "english," and "science." Files are named "maths_project_ch3.docx."
You have folders for "photos," "videos," and "decorations." Files are named "birthday_ada_2025_01.jpg."
| Situation | Folder and Naming Skill |
|---|---|
| School work | Folders by subject, files named by chapter |
| Family photos | Folders by year or event, files named descriptively |
| Music collection | Folders by artist, files named by song |
| Work documents | Folders by project, files named with dates |
| Game saves | Folders by game, files named by level |
| Mistake | Why It Is a Problem | How to Avoid It |
|---|---|---|
| Using spaces in file names | Servers cannot read them properly | Use underscores |
| Using uppercase letters | Some servers treat them differently | Use lowercase |
| Using vague names | Files are hard to find | Be descriptive |
| Ignoring extensions | Files may not open | Use the correct extension |
| Putting all files in one folder | Clutter and confusion | Use folders by type |
| Nesting folders too deeply | Hard to navigate | Keep 2β3 levels |
| Forgetting index.html | Homepage does not load | Always include index.html |
Start
|
V
Think of a clear name
|
V
Use lowercase
|
V
Replace spaces with underscores
|
V
Remove special characters
|
V
Add correct extension
|
V
Save the file
website/
+-- index.html
+-- about.html
+-- contact.html
+-- css/
| +-- style.css
+-- js/
| +-- script.js
+-- images/
| +-- logo.png
| +-- banner.jpg
+-- pages/
+-- services.html
images/
+-- school/
| +-- sports_day.jpg
| +-- graduation.jpg
+-- family/
| +-- holiday_abuja.jpg
| +-- birthday_ada.jpg
+-- city/
+-- abuja_sunset.jpg
New File
|
V
Choose descriptive name
|
V
Lowercase only
|
V
Underscores not spaces
|
V
No special characters
|
V
Add extension
|
V
Save to correct folder
Step 1: Why naming matters
|
Step 2: Naming rules
|
Step 3: File extensions
|
Step 4: Naming web pages
|
Step 5: Naming images
|
Step 6: Naming CSS and JS
|
Step 7: What is folder structure
|
Step 8: Main folders
|
Step 9: Subfolders
|
Step 10: Root folder
|
Step 11: index.html
|
Step 12: SEO
|
Step 13: Accessibility
|
Step 14: Common mistakes
|
Step 15: Putting it together
| Rule | Example |
|---|---|
| Lowercase | logo.png |
| Underscores | about_us.html |
| No spaces | my_photo.jpg |
| No special characters | photo.jpg |
| Descriptive | abuja_sunset.jpg |
| Short | home.html |
| Include date | report_2025_03.pdf |
| Folder | Purpose | Example Files |
|---|---|---|
| Root | Top-level files | index.html, about.html |
| css/ | Styles | style.css, school.css |
| js/ | Scripts | script.js, menu.js |
| images/ | Pictures | logo.png, banner.jpg |
| pages/ | Other HTML pages | contact.html, services.html |
File names matter. They help you, servers, browsers, and search engines understand what is inside.
Follow simple rules: lowercase, underscores, no spaces, no special characters, be descriptive, keep it short.
The extension tells the computer what type of file it is. Always use the correct extension.
Web page names should be short, clear, and describe the page content.
Image names should describe what the image shows. This helps search engines and helps you find images.
CSS and JavaScript file names should be short, lowercase, and descriptive.
A folder structure organises files into folders. Each type of file has its own folder.
Every website needs at least: root, css, js, images, and pages folders.
Subfolders group images into smaller, more organised sets.
The root folder holds everything for the website. It is the starting point.
"index.html" is the homepage. Servers look for it by default.
Clear folders and names help search engines find and rank your website.
Clear file names help accessibility tools work properly.
Avoid common folder mistakes. Keep your folders simple and consistent.
A complete plan includes root folder, standard folders, subfolders, and clear file names.
In this module, you learned about file naming and folder structure. You learned that file naming is the practice of giving files clear, consistent, and useful names.
You learned why file naming matters. Good names help you find files quickly. They help servers, browsers, and search engines understand your files.
You learned the rules for naming files: use lowercase letters, use underscores instead of spaces, avoid special characters, be descriptive, keep names short, and include dates if useful.
You learned about file extensions. The extension tells the computer what type of file it is. Examples include .html, .css, .js, .jpg, and .pdf.
You learned how to name web pages, images, CSS files, and JavaScript files. Each type has its own naming conventions.
You learned about folder structure. A folder structure is the way folders are arranged inside each other. Every website needs standard folders: root, css, js, images, and pages.
You learned about subfolders. Subfolders organise images into smaller groups. You learned about the root folder and index.html, the default homepage file.
You learned how folder structure affects SEO and accessibility. Clear folders and names help search engines rank your website and help accessibility tools work properly.
You learned about common folder mistakes and how to avoid them. You learned best practices for file naming and folder structure.
Finally, you learned how to put it all together. A complete plan includes root folder, standard folders, subfolders, and clear file names.
Match the word on the left with the correct definition on the right.
| Word | Definition |
|---|---|
| 1. File Naming | A. The default homepage file |
| 2. File Extension | B. Giving files clear, useful names |
| 3. Folder Structure | C. The letters after the dot in a file name |
| 4. Root Folder | D. The way folders are arranged inside each other |
| 5. index.html | E. A folder inside another folder |
| 6. Subfolder | F. The top-level folder for a website |
Answers: 1βB, 2βC, 3βD, 4βF, 5βA, 6βE
You are building a school website. What folders will you create? What will you name the homepage?
You have 200 photos to organise. How will you structure your images folder?
You are building an online shop. What folders will you create for products?
You are building a personal blog. What will you name your pages?
You are building a news website. How will you organise articles by date?
Goal: Work in groups of 3β4 to design a folder structure and naming plan.
Steps:
Discussion: Which group's structure was clearest? Which group's names were best? Why?
Goal: Practice designing a folder structure on your own.
Steps:
Goal: Create a complete plan for a personal website.
Steps:
Deliverable: A written plan with folder structure, page list, and clear file names.
Instructions: Complete the following tasks on your computer. Write down what you did.
Submission: Share your folder structure screenshot and a short report of what you learned.
In the next module, you will learn about local, cloud, and server storage. You will learn how to store files on your computer, in the cloud, and on a web server. You will also learn how to back up your files and choose the right storage option.
Before the next module, please make sure you can:
If you can do these things, you are ready for Module Three: Local, Cloud, and Server Storage.
See you in the next module, young explorer! Keep practising and stay curious.
End of Module Two