diff --git a/collections/js-array-initialization.yaml b/collections/js/array-initialization.yaml similarity index 95% rename from collections/js-array-initialization.yaml rename to collections/js/array-initialization.yaml index 53ccd88ee..ce70236c7 100644 --- a/collections/js-array-initialization.yaml +++ b/collections/js/array-initialization.yaml @@ -1,4 +1,4 @@ -slug: c/js-array-initialization +slug: js/array-initialization name: JavaScript Array Initialization featured: true snippetIds: diff --git a/collections/js-array-methods.yaml b/collections/js/array-methods.yaml similarity index 97% rename from collections/js-array-methods.yaml rename to collections/js/array-methods.yaml index 4fc2c3e93..11584a557 100644 --- a/collections/js-array-methods.yaml +++ b/collections/js/array-methods.yaml @@ -1,4 +1,4 @@ -slug: c/js-array-methods +slug: js/array-methods name: JavaScript Array Methods featured: true snippetIds: diff --git a/collections/js-array-set-operations.yaml b/collections/js/array-set-operations.yaml similarity index 95% rename from collections/js-array-set-operations.yaml rename to collections/js/array-set-operations.yaml index f63fd0993..3964bfd03 100644 --- a/collections/js-array-set-operations.yaml +++ b/collections/js/array-set-operations.yaml @@ -1,4 +1,4 @@ -slug: c/js-array-set-operations +slug: js/array-set-operations name: JavaScript Array Set Operations featured: true snippetIds: diff --git a/collections/js-array-tricks.yaml b/collections/js/array-tricks.yaml similarity index 96% rename from collections/js-array-tricks.yaml rename to collections/js/array-tricks.yaml index 33a337247..6aa1c232e 100644 --- a/collections/js-array-tricks.yaml +++ b/collections/js/array-tricks.yaml @@ -1,4 +1,4 @@ -slug: c/js-array-tricks +slug: js/array-tricks name: JavaScript Array Tricks featured: true snippetIds: diff --git a/collections/js-arrow-functions.yaml b/collections/js/arrow-functions.yaml similarity index 96% rename from collections/js-arrow-functions.yaml rename to collections/js/arrow-functions.yaml index d34180ae4..a85355dd7 100644 --- a/collections/js-arrow-functions.yaml +++ b/collections/js/arrow-functions.yaml @@ -1,4 +1,4 @@ -slug: c/js-arrow-functions +slug: js/arrow-functions name: JavaScript Arrow Functions featured: true snippetIds: diff --git a/collections/js-browser-capabilities.yaml b/collections/js/browser-capabilities.yaml similarity index 95% rename from collections/js-browser-capabilities.yaml rename to collections/js/browser-capabilities.yaml index ff1fb4681..c6beac606 100644 --- a/collections/js-browser-capabilities.yaml +++ b/collections/js/browser-capabilities.yaml @@ -1,4 +1,4 @@ -slug: c/js-browser-capabilities +slug: js/browser-capabilities name: Browser Capability Detection featured: true snippetIds: diff --git a/collections/js-colors.yaml b/collections/js/colors.yaml similarity index 97% rename from collections/js-colors.yaml rename to collections/js/colors.yaml index 86036abb3..e541fa97e 100644 --- a/collections/js-colors.yaml +++ b/collections/js/colors.yaml @@ -1,4 +1,4 @@ -slug: c/js-colors +slug: js/colors name: Colors in JavaScript featured: true snippetIds: diff --git a/collections/js-comparison.yaml b/collections/js/comparison.yaml similarity index 97% rename from collections/js-comparison.yaml rename to collections/js/comparison.yaml index ad93e68cf..2cf8e48f0 100644 --- a/collections/js-comparison.yaml +++ b/collections/js/comparison.yaml @@ -1,4 +1,4 @@ -slug: c/js-comparison +slug: js/comparison name: JavaScript Comparison featured: true snippetIds: diff --git a/collections/js-css-manipulation.yaml b/collections/js/css-manipulation.yaml similarity index 95% rename from collections/js-css-manipulation.yaml rename to collections/js/css-manipulation.yaml index 36ac6b4af..3d0fa7535 100644 --- a/collections/js-css-manipulation.yaml +++ b/collections/js/css-manipulation.yaml @@ -1,4 +1,4 @@ -slug: c/js-css-manipulation +slug: js/css-manipulation name: CSS Manipulation with JavaScript featured: true snippetIds: diff --git a/collections/js-data-structures.yaml b/collections/js/data-structures.yaml similarity index 97% rename from collections/js-data-structures.yaml rename to collections/js/data-structures.yaml index 012e2098d..06a67cceb 100644 --- a/collections/js-data-structures.yaml +++ b/collections/js/data-structures.yaml @@ -1,4 +1,4 @@ -slug: c/js-data-structures +slug: js/data-structures name: JavaScript Data Structures miniName: Data Structures parent: js diff --git a/collections/js-dom-manipulation.yaml b/collections/js/dom-manipulation.yaml similarity index 95% rename from collections/js-dom-manipulation.yaml rename to collections/js/dom-manipulation.yaml index 143023104..0839aa43b 100644 --- a/collections/js-dom-manipulation.yaml +++ b/collections/js/dom-manipulation.yaml @@ -1,4 +1,4 @@ -slug: c/js-dom-manipulation +slug: js/dom-manipulation name: JavaScript DOM Manipulation featured: true snippetIds: diff --git a/collections/js-dom-querying.yaml b/collections/js/dom-querying.yaml similarity index 97% rename from collections/js-dom-querying.yaml rename to collections/js/dom-querying.yaml index c4860c58d..ac17ac732 100644 --- a/collections/js-dom-querying.yaml +++ b/collections/js/dom-querying.yaml @@ -1,4 +1,4 @@ -slug: c/js-dom-querying +slug: js/dom-querying name: JavaScript DOM Querying featured: true snippetIds: diff --git a/collections/js-event-handling.yaml b/collections/js/event-handling.yaml similarity index 97% rename from collections/js-event-handling.yaml rename to collections/js/event-handling.yaml index 24b4540d8..b1d7fa8fd 100644 --- a/collections/js-event-handling.yaml +++ b/collections/js/event-handling.yaml @@ -1,4 +1,4 @@ -slug: c/js-event-handling +slug: js/event-handling name: JavaScript Event Handling featured: true snippetIds: diff --git a/collections/js-generators.yaml b/collections/js/generators.yaml similarity index 97% rename from collections/js-generators.yaml rename to collections/js/generators.yaml index e0514b8ce..476043c9b 100644 --- a/collections/js-generators.yaml +++ b/collections/js/generators.yaml @@ -1,4 +1,4 @@ -slug: c/js-generators +slug: js/generators name: JavaScript Generator Functions featured: true snippetIds: diff --git a/collections/js-geometry.yaml b/collections/js/geometry.yaml similarity index 96% rename from collections/js-geometry.yaml rename to collections/js/geometry.yaml index 0fa71e375..2e3721bcd 100644 --- a/collections/js-geometry.yaml +++ b/collections/js/geometry.yaml @@ -1,4 +1,4 @@ -slug: c/js-geometry +slug: js/geometry name: JavaScript Geometric Operations featured: true snippetIds: diff --git a/collections/js-http-requests.yaml b/collections/js/http-requests.yaml similarity index 95% rename from collections/js-http-requests.yaml rename to collections/js/http-requests.yaml index 68aa39862..a3ebe3632 100644 --- a/collections/js-http-requests.yaml +++ b/collections/js/http-requests.yaml @@ -1,4 +1,4 @@ -slug: c/js-http-requests +slug: js/http-requests name: HTTP Requests in JavaScript featured: true snippetIds: diff --git a/collections/js-interviews.yaml b/collections/js/interviews.yaml similarity index 98% rename from collections/js-interviews.yaml rename to collections/js/interviews.yaml index 463a2a04e..f051ee366 100644 --- a/collections/js-interviews.yaml +++ b/collections/js/interviews.yaml @@ -1,4 +1,4 @@ -slug: c/js-interviews +slug: js/interviews name: JavaScript Interview Questions miniName: Interview Questions featured: true diff --git a/collections/js-logical-operations.yaml b/collections/js/logical-operations.yaml similarity index 94% rename from collections/js-logical-operations.yaml rename to collections/js/logical-operations.yaml index ae2c4b2b7..299fec6d3 100644 --- a/collections/js-logical-operations.yaml +++ b/collections/js/logical-operations.yaml @@ -1,4 +1,4 @@ -slug: c/js-logical-operations +slug: js/logical-operations name: JavaScript Logical Operations featured: true snippetIds: diff --git a/collections/js-object-cloning.yaml b/collections/js/object-cloning.yaml similarity index 94% rename from collections/js-object-cloning.yaml rename to collections/js/object-cloning.yaml index 650272ee0..5f4e866e1 100644 --- a/collections/js-object-cloning.yaml +++ b/collections/js/object-cloning.yaml @@ -1,4 +1,4 @@ -slug: c/js-object-cloning +slug: js/object-cloning name: JavaScript Object Cloning featured: true snippetIds: diff --git a/collections/js-object-key-selection.yaml b/collections/js/object-key-selection.yaml similarity index 94% rename from collections/js-object-key-selection.yaml rename to collections/js/object-key-selection.yaml index 9f994c6b0..2d4567899 100644 --- a/collections/js-object-key-selection.yaml +++ b/collections/js/object-key-selection.yaml @@ -1,4 +1,4 @@ -slug: c/js-object-key-selection +slug: js/object-key-selection name: JavaScript Object Key Selection featured: true snippetIds: diff --git a/collections/js-object-key-transformations.yaml b/collections/js/object-key-transformations.yaml similarity index 93% rename from collections/js-object-key-transformations.yaml rename to collections/js/object-key-transformations.yaml index 75b1f9b33..6a431da3c 100644 --- a/collections/js-object-key-transformations.yaml +++ b/collections/js/object-key-transformations.yaml @@ -1,4 +1,4 @@ -slug: c/js-object-key-transformations +slug: js/object-key-transformations name: JavaScript Object Key Transformations featured: true snippetIds: diff --git a/collections/js-performance.yaml b/collections/js/performance.yaml similarity index 97% rename from collections/js-performance.yaml rename to collections/js/performance.yaml index 6cbce7132..f567fd988 100644 --- a/collections/js-performance.yaml +++ b/collections/js/performance.yaml @@ -1,4 +1,4 @@ -slug: c/js-performance +slug: js/performance name: JavaScript Performance Optimization featured: true snippetIds: diff --git a/collections/js-promises.yaml b/collections/js/promises.yaml similarity index 97% rename from collections/js-promises.yaml rename to collections/js/promises.yaml index 3bb228b2c..5c7867784 100644 --- a/collections/js-promises.yaml +++ b/collections/js/promises.yaml @@ -1,4 +1,4 @@ -slug: c/js-promises +slug: js/promises name: JavaScript Promises featured: true snippetIds: diff --git a/collections/js-proxy.yaml b/collections/js/proxy.yaml similarity index 98% rename from collections/js-proxy.yaml rename to collections/js/proxy.yaml index 3dafd1217..6d78a8760 100644 --- a/collections/js-proxy.yaml +++ b/collections/js/proxy.yaml @@ -1,4 +1,4 @@ -slug: c/js-proxy +slug: js/proxy name: JavaScript Proxy featured: true snippetIds: diff --git a/collections/js-random-value-generators.yaml b/collections/js/random-value-generators.yaml similarity index 95% rename from collections/js-random-value-generators.yaml rename to collections/js/random-value-generators.yaml index c384930b9..57f9a8ab7 100644 --- a/collections/js-random-value-generators.yaml +++ b/collections/js/random-value-generators.yaml @@ -1,4 +1,4 @@ -slug: c/js-random-value-generators +slug: js/random-value-generators name: JavaScript Random Value Generators featured: true snippetIds: diff --git a/collections/js-scroll.yaml b/collections/js/scroll.yaml similarity index 96% rename from collections/js-scroll.yaml rename to collections/js/scroll.yaml index b6bf5f9de..effd17986 100644 --- a/collections/js-scroll.yaml +++ b/collections/js/scroll.yaml @@ -1,4 +1,4 @@ -slug: c/js-scroll +slug: js/scroll name: Browser Scrolling with JavaScript featured: true snippetIds: diff --git a/collections/js-string-casing.yaml b/collections/js/string-casing.yaml similarity index 96% rename from collections/js-string-casing.yaml rename to collections/js/string-casing.yaml index 54771dc4e..e9cdfdc73 100644 --- a/collections/js-string-casing.yaml +++ b/collections/js/string-casing.yaml @@ -1,4 +1,4 @@ -slug: c/js-string-casing +slug: js/string-casing name: JavaScript String Casing featured: true snippetIds: diff --git a/collections/js-unit-conversions.yaml b/collections/js/unit-conversions.yaml similarity index 95% rename from collections/js-unit-conversions.yaml rename to collections/js/unit-conversions.yaml index 33ba034c1..f4b016c30 100644 --- a/collections/js-unit-conversions.yaml +++ b/collections/js/unit-conversions.yaml @@ -1,4 +1,4 @@ -slug: c/js-unit-conversions +slug: js/unit-conversions name: JavaScript Unit Conversions featured: true snippetIds: diff --git a/collections/js-url.yaml b/collections/js/url.yaml similarity index 98% rename from collections/js-url.yaml rename to collections/js/url.yaml index 7f59bd902..b6faa2737 100644 --- a/collections/js-url.yaml +++ b/collections/js/url.yaml @@ -1,4 +1,4 @@ -slug: c/js-url +slug: js/url name: URLs in JavaScript featured: true snippetIds: diff --git a/collections/js-web-storage-essentials.yaml b/collections/js/web-storage-essentials.yaml similarity index 94% rename from collections/js-web-storage-essentials.yaml rename to collections/js/web-storage-essentials.yaml index 2d5b5dcbe..ba8786079 100644 --- a/collections/js-web-storage-essentials.yaml +++ b/collections/js/web-storage-essentials.yaml @@ -1,4 +1,4 @@ -slug: c/js-web-storage-essentials +slug: js/web-storage-essentials name: Web Storage Essentials featured: true snippetIds: diff --git a/hub.yaml b/hub.yaml index b0b5ec816..f3d2b6aac 100644 --- a/hub.yaml +++ b/hub.yaml @@ -14,43 +14,43 @@ featuredListings: - react/hooks - js/algorithm - git -- c/js-interviews +- js/interviews - python - js/node -- c/js-data-structures -- c/js-promises -- c/js-comparison +- js/data-structures +- js/promises +- js/comparison - c/html-head-basics - css/centering -- c/js-css-manipulation -- c/js-url -- c/js-proxy -- c/js-dom-querying -- c/js-dom-manipulation -- c/js-event-handling -- c/js-arrow-functions -- c/js-performance +- js/css-manipulation +- js/url +- js/proxy +- js/dom-querying +- js/dom-manipulation +- js/event-handling +- js/arrow-functions +- js/performance - tips - c/react-rendering -- c/js-colors -- c/js-browser-capabilities -- c/js-array-methods -- c/js-array-tricks -- c/js-object-key-transformations +- js/colors +- js/browser-capabilities +- js/array-methods +- js/array-tricks +- js/object-key-transformations - c/react-testing - css/hover-effects -- c/js-string-casing -- c/js-generators -- c/js-array-set-operations +- js/string-casing +- js/generators +- js/array-set-operations - css/button-transitions -- c/js-random-value-generators -- c/js-web-storage-essentials -- c/js-scroll -- c/js-array-initialization +- js/random-value-generators +- js/web-storage-essentials +- js/scroll +- js/array-initialization - css/background-patterns -- c/js-object-cloning +- js/object-cloning - react/components -- c/js-http-requests +- js/http-requests - web-development -- c/js-object-key-selection +- js/object-key-selection - cheatsheets diff --git a/snippets/articles/s/js-array-initialization.md b/snippets/articles/s/js-array-initialization.md index 6cd3157b7..d964919ae 100644 --- a/snippets/articles/s/js-array-initialization.md +++ b/snippets/articles/s/js-array-initialization.md @@ -72,4 +72,4 @@ initializeArrayWithValues(4, 2); // [2, 2, 2, 2] initializeMappedArray(4, (_, i) => i * 2); // [0, 2, 4, 6] ``` -You can learn more tips and tricks related to JavaScript array initialization in [this collection](/c/js-array-initialization/p/1). +You can learn more tips and tricks related to JavaScript array initialization in [this collection](//js/array-initialization/p/1).