An overview of the naming conventions we’ll follow for all of the Web Dev courses.
Naming conventions
These apply to all files & all folders created for the Web Dev courses.
Different operating systems treat capitalization in filenames differently.
We’ll standardize on lowercase to make things more consistent and easier.
URLs literally cannot have spaces in them.
Since we’re making websites & everything is a URL, our filenames also cannot have spaces.
URLs only allow ASCII characters unless the characters are encoded.
Since the specification specifically disallows non-ASCII characters our filenames will use only basic characters.
index.html dinosaurs.jpg t-rex.jpg prehistoric-creatures-of-the-deep.html
Index.html <-- Web server won’t find & load the page t rex.jpg <-- Browser may not be able to find the image prehistoric_creatures_of_the_deep.jpg <-- Google will treat this as a single word