mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Fixed a small typo in the RWD curriculum (#65180)
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ Here's what the absolute URL looks like in the browser address bar:
|
||||
file:///Users/user/Desktop/fCC/script-code/absolute-vs-relative-paths/pages/about.html
|
||||
```
|
||||
|
||||
The URL includes the protocol, `file://`. It also include the path, which looks like this: `/Users/user/Desktop/fCC/script-code/absolute-vs-relative-paths/pages/`, and represents the series of folders that lead to the file. And finally, it also includes the `about.html`, which is the filename and the extension.
|
||||
The URL includes the protocol, `file://`. It also includes the path, which looks like this: `/Users/user/Desktop/fCC/script-code/absolute-vs-relative-paths/pages/`, and represents the series of folders that lead to the file. And finally, it also includes the `about.html`, which is the filename and the extension.
|
||||
|
||||
Now, lets look at the relative path. A relative path specifies the location of a file relative to the directory of the current file. It does not include the protocol or the domain name, making it shorter and more flexible for internal links within the same website. Here's an example of linking to the `about.html` page from the `contact.html` page, both of which are in the same folder:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user