WDD 230: Web Frontend Development I

Course File and Folder Naming Conventions

Overview

When working on the web, there are many things that affect the operation of the files—the browser, the protocol(s), the operating system, the language(s), etc. While many of these are out of your control, there are steps you can take to help keep things consistent and manageable through standard file and folder naming conventions.

"When you're building a website, you need to assemble these files into a sensible structure on your local computer, make sure they can talk to one another, and get all your content looking right before you eventually upload them to a server. Dealing with files discusses some issues you should be aware of so you can set up a sensible file structure for your website." - MDN

Prepare

Naming Convention Rules

Whenever an image does not show up or a JavaScript file fails to run, first check the file name and then, the file path. Sites use relative paths, meaning, the path does not start with a protocol like https:// ) for local resources and absolute paths (starts with a protocol like https://) for external resources. Understand the relationship between file locations.
📄 Quick Reminder About File Paths

Submission

There is nothing to submit. You will be expected to follow these naming conventions and standards.


Additional Resources