diff --git a/collections/js/array-methods.yaml b/collections/js/array-methods.yaml index 3df13c32b..a97f56d8a 100644 --- a/collections/js/array-methods.yaml +++ b/collections/js/array-methods.yaml @@ -3,12 +3,12 @@ name: JavaScript Array Methods featured: true snippetIds: - js/s/array-map-vs-foreach - - articles/s/4-javascript-array-methods + - js/s/4-array-methods - js/s/array-comparison - js/s/index-for-of-loop - js/s/for-loop-early-break - js/s/array-initialization - - articles/s/code-anatomy-chaining-reduce-for-loop + - js/s/code-anatomy-chaining-reduce-for-loop - js/s/async-array-loops - js/s/typecheck-array splash: laptop-lamp.png diff --git a/collections/js/data-structures.yaml b/collections/js/data-structures.yaml index 910dc9ef0..a68c40c39 100644 --- a/collections/js/data-structures.yaml +++ b/collections/js/data-structures.yaml @@ -14,7 +14,7 @@ snippetIds: - js/s/data-structures-binary-tree - js/s/data-structures-binary-search-tree - js/s/frequency-map-data-structure - - articles/s/big-o-cheatsheet + - js/s/big-o-cheatsheet splash: purple-flower.png description: >- The JavaScript data structures collection includes implementations and diff --git a/collections/js/dom-querying.yaml b/collections/js/dom-querying.yaml index e38bfc216..ddfa85167 100644 --- a/collections/js/dom-querying.yaml +++ b/collections/js/dom-querying.yaml @@ -11,7 +11,7 @@ snippetIds: - js/s/get-images - js/s/query-selector-shorthand - js/s/element-is-visible-in-viewport - - articles/s/select-focused-dom-element + - js/s/select-focused-dom-element - js/s/get-elements-bigger-than-viewport - js/s/element-from-point - js/s/element-is-focused diff --git a/collections/js/event-handling.yaml b/collections/js/event-handling.yaml index eda119195..242d56bee 100644 --- a/collections/js/event-handling.yaml +++ b/collections/js/event-handling.yaml @@ -11,10 +11,10 @@ snippetIds: - js/s/remove-event-listener-all - js/s/add-multiple-events - js/s/execute-event-handler-once - - articles/s/passive-scroll-listener-performance + - js/s/passive-scroll-listener-performance - js/s/on-scroll-stop - js/s/arrow-function-event-listeners - - articles/s/detect-caps-lock-is-on + - js/s/detect-caps-lock-is-on - js/s/trigger-event - js/s/on-user-input-change splash: monsterra.png diff --git a/collections/js/http-requests.yaml b/collections/js/http-requests.yaml index a3ebe3632..c8b866a7e 100644 --- a/collections/js/http-requests.yaml +++ b/collections/js/http-requests.yaml @@ -7,7 +7,7 @@ snippetIds: - js/s/http-put - js/s/http-delete - articles/s/http-status-codes-cheatsheet - - articles/s/cors-explained + - js/s/cors-explained splash: laptop-plants-1.png description: >- Making network requests is a crucial part of most web applications. This diff --git a/collections/js/interviews.yaml b/collections/js/interviews.yaml index 31365e471..4cca596ed 100644 --- a/collections/js/interviews.yaml +++ b/collections/js/interviews.yaml @@ -36,7 +36,7 @@ snippetIds: - js/s/iife - js/s/event-loop-explained - js/s/prefix-postfix-operators - - articles/s/cors-explained + - js/s/cors-explained splash: interview.png description: >- Preparing for a job interview requires studying to refresh your knowledge and diff --git a/collections/js/performance.yaml b/collections/js/performance.yaml index 2ef835923..714c7b463 100644 --- a/collections/js/performance.yaml +++ b/collections/js/performance.yaml @@ -3,15 +3,15 @@ name: JavaScript Performance Optimization featured: true snippetIds: - js/s/store-dom-items - - articles/s/passive-scroll-listener-performance + - js/s/passive-scroll-listener-performance - js/s/textcontent-or-innertext - js/s/memoization - js/s/array-filtering-tips - js/s/fast-remove-array-element - - articles/s/code-anatomy-optimizing-recursion + - js/s/code-anatomy-optimizing-recursion - js/s/switch-object - js/s/dynamic-properties-are-slow - - articles/s/big-o-cheatsheet + - js/s/big-o-cheatsheet splash: do-more-computer.png description: >- Enhance your website's performance with our collection of tips and tricks on diff --git a/collections/js/promises.yaml b/collections/js/promises.yaml index 73cc64c94..544d56334 100644 --- a/collections/js/promises.yaml +++ b/collections/js/promises.yaml @@ -3,7 +3,7 @@ name: JavaScript Promises featured: true snippetIds: - js/s/promises - - articles/s/async-javascript-cheatsheet + - js/s/async-cheatsheet - js/s/sync-async - js/s/promise-then-catch - js/s/promise-then-finally diff --git a/collections/js/web-storage-essentials.yaml b/collections/js/web-storage-essentials.yaml index ba8786079..82f1dc013 100644 --- a/collections/js/web-storage-essentials.yaml +++ b/collections/js/web-storage-essentials.yaml @@ -2,7 +2,7 @@ slug: js/web-storage-essentials name: Web Storage Essentials featured: true snippetIds: - - articles/s/cookies-local-storage-session + - js/s/cookies-local-storage-session - js/s/parse-cookie - js/s/serialize-cookie - js/s/is-local-storage-enabled diff --git a/collections/react/testing.yaml b/collections/react/testing.yaml index a31032b98..f500e9a85 100644 --- a/collections/react/testing.yaml +++ b/collections/react/testing.yaml @@ -4,10 +4,10 @@ shortName: Testing parent: react featured: true snippetIds: - - articles/s/testing-stateful-ui-components - - articles/s/testing-async-react-components - - articles/s/testing-react-portals - - articles/s/testing-redux-connected-components + - react/s/testing-stateful-ui-components + - react/s/testing-async-components + - react/s/testing-portals + - react/s/testing-redux-connected-components splash: headphones.png description: >- Testing React can be challenging, both in terms of figuring out the correct diff --git a/snippets/articles/s/25-css-gradients.md b/snippets/css/s/25-css-gradients.md similarity index 100% rename from snippets/articles/s/25-css-gradients.md rename to snippets/css/s/25-css-gradients.md diff --git a/snippets/articles/s/flexbox-cheatsheet.md b/snippets/css/s/flexbox-cheatsheet.md similarity index 100% rename from snippets/articles/s/flexbox-cheatsheet.md rename to snippets/css/s/flexbox-cheatsheet.md diff --git a/snippets/articles/s/perfect-css-transition-duration.md b/snippets/css/s/perfect-transition-duration.md similarity index 100% rename from snippets/articles/s/perfect-css-transition-duration.md rename to snippets/css/s/perfect-transition-duration.md diff --git a/snippets/articles/s/typographic-scale-basics.md b/snippets/css/s/typographic-scale-basics.md similarity index 100% rename from snippets/articles/s/typographic-scale-basics.md rename to snippets/css/s/typographic-scale-basics.md diff --git a/snippets/articles/s/git-aliases.md b/snippets/git/s/aliases.md similarity index 100% rename from snippets/articles/s/git-aliases.md rename to snippets/git/s/aliases.md diff --git a/snippets/articles/s/git-commit-different-date.md b/snippets/git/s/commit-different-date.md similarity index 100% rename from snippets/articles/s/git-commit-different-date.md rename to snippets/git/s/commit-different-date.md diff --git a/snippets/articles/s/git-fast-forward.md b/snippets/git/s/fast-forward.md similarity index 100% rename from snippets/articles/s/git-fast-forward.md rename to snippets/git/s/fast-forward.md diff --git a/snippets/articles/s/github-co-authors.md b/snippets/git/s/github-co-authors.md similarity index 100% rename from snippets/articles/s/github-co-authors.md rename to snippets/git/s/github-co-authors.md diff --git a/snippets/articles/s/10-vs-code-extensions-for-js-developers.md b/snippets/js/s/10-vs-code-extensions-for-js-developers.md similarity index 100% rename from snippets/articles/s/10-vs-code-extensions-for-js-developers.md rename to snippets/js/s/10-vs-code-extensions-for-js-developers.md diff --git a/snippets/articles/s/4-javascript-array-methods.md b/snippets/js/s/4-array-methods.md similarity index 100% rename from snippets/articles/s/4-javascript-array-methods.md rename to snippets/js/s/4-array-methods.md diff --git a/snippets/articles/s/6-javascript-regexp-tricks.md b/snippets/js/s/6-regexp-tricks.md similarity index 100% rename from snippets/articles/s/6-javascript-regexp-tricks.md rename to snippets/js/s/6-regexp-tricks.md diff --git a/snippets/articles/s/async-javascript-cheatsheet.md b/snippets/js/s/async-cheatsheet.md similarity index 100% rename from snippets/articles/s/async-javascript-cheatsheet.md rename to snippets/js/s/async-cheatsheet.md diff --git a/snippets/articles/s/big-o-cheatsheet.md b/snippets/js/s/big-o-cheatsheet.md similarity index 100% rename from snippets/articles/s/big-o-cheatsheet.md rename to snippets/js/s/big-o-cheatsheet.md diff --git a/snippets/articles/s/code-anatomy-chaining-reduce-for-loop.md b/snippets/js/s/code-anatomy-chaining-reduce-for-loop.md similarity index 100% rename from snippets/articles/s/code-anatomy-chaining-reduce-for-loop.md rename to snippets/js/s/code-anatomy-chaining-reduce-for-loop.md diff --git a/snippets/articles/s/code-anatomy-optimizing-recursion.md b/snippets/js/s/code-anatomy-optimizing-recursion.md similarity index 100% rename from snippets/articles/s/code-anatomy-optimizing-recursion.md rename to snippets/js/s/code-anatomy-optimizing-recursion.md diff --git a/snippets/articles/s/common-regexp-cheatsheet.md b/snippets/js/s/common-regexp-cheatsheet.md similarity index 100% rename from snippets/articles/s/common-regexp-cheatsheet.md rename to snippets/js/s/common-regexp-cheatsheet.md diff --git a/snippets/articles/s/console-log-cheatsheet.md b/snippets/js/s/console-log-cheatsheet.md similarity index 100% rename from snippets/articles/s/console-log-cheatsheet.md rename to snippets/js/s/console-log-cheatsheet.md diff --git a/snippets/articles/s/cookies-local-storage-session.md b/snippets/js/s/cookies-local-storage-session.md similarity index 100% rename from snippets/articles/s/cookies-local-storage-session.md rename to snippets/js/s/cookies-local-storage-session.md diff --git a/snippets/articles/s/copy-text-to-clipboard-with-javascript.md b/snippets/js/s/copy-text-to-clipboard.md similarity index 100% rename from snippets/articles/s/copy-text-to-clipboard-with-javascript.md rename to snippets/js/s/copy-text-to-clipboard.md diff --git a/snippets/articles/s/cors-explained.md b/snippets/js/s/cors-explained.md similarity index 100% rename from snippets/articles/s/cors-explained.md rename to snippets/js/s/cors-explained.md diff --git a/snippets/articles/s/detect-caps-lock-is-on.md b/snippets/js/s/detect-caps-lock-is-on.md similarity index 100% rename from snippets/articles/s/detect-caps-lock-is-on.md rename to snippets/js/s/detect-caps-lock-is-on.md diff --git a/snippets/articles/s/eslint-refactor-for-in.md b/snippets/js/s/eslint-refactor-for-in.md similarity index 100% rename from snippets/articles/s/eslint-refactor-for-in.md rename to snippets/js/s/eslint-refactor-for-in.md diff --git a/snippets/articles/s/jest-mock-global-methods.md b/snippets/js/s/jest-mock-global-methods.md similarity index 100% rename from snippets/articles/s/jest-mock-global-methods.md rename to snippets/js/s/jest-mock-global-methods.md diff --git a/snippets/articles/s/nodejs-chrome-debugging.md b/snippets/js/s/nodejs-chrome-debugging.md similarity index 100% rename from snippets/articles/s/nodejs-chrome-debugging.md rename to snippets/js/s/nodejs-chrome-debugging.md diff --git a/snippets/articles/s/nodejs-static-file-server.md b/snippets/js/s/nodejs-static-file-server.md similarity index 100% rename from snippets/articles/s/nodejs-static-file-server.md rename to snippets/js/s/nodejs-static-file-server.md diff --git a/snippets/articles/s/nodejs-test-module-introduction.md b/snippets/js/s/nodejs-test-module-introduction.md similarity index 100% rename from snippets/articles/s/nodejs-test-module-introduction.md rename to snippets/js/s/nodejs-test-module-introduction.md diff --git a/snippets/articles/s/passive-scroll-listener-performance.md b/snippets/js/s/passive-scroll-listener-performance.md similarity index 100% rename from snippets/articles/s/passive-scroll-listener-performance.md rename to snippets/js/s/passive-scroll-listener-performance.md diff --git a/snippets/articles/s/regexp-cheatsheet.md b/snippets/js/s/regexp-cheatsheet.md similarity index 100% rename from snippets/articles/s/regexp-cheatsheet.md rename to snippets/js/s/regexp-cheatsheet.md diff --git a/snippets/articles/s/select-focused-dom-element.md b/snippets/js/s/select-focused-dom-element.md similarity index 100% rename from snippets/articles/s/select-focused-dom-element.md rename to snippets/js/s/select-focused-dom-element.md diff --git a/snippets/articles/s/the-case-for-javascript-trailing-commas.md b/snippets/js/s/the-case-for-trailing-commas.md similarity index 100% rename from snippets/articles/s/the-case-for-javascript-trailing-commas.md rename to snippets/js/s/the-case-for-trailing-commas.md diff --git a/snippets/articles/s/6-python-f-strings-tips.md b/snippets/python/s/6-f-strings-tips.md similarity index 100% rename from snippets/articles/s/6-python-f-strings-tips.md rename to snippets/python/s/6-f-strings-tips.md diff --git a/snippets/articles/s/code-anatomy-performant-python.md b/snippets/python/s/code-anatomy-performant-python.md similarity index 100% rename from snippets/articles/s/code-anatomy-performant-python.md rename to snippets/python/s/code-anatomy-performant-python.md diff --git a/snippets/articles/s/setup-python3-pip3-as-default.md b/snippets/python/s/setup-python3-pip3-as-default.md similarity index 100% rename from snippets/articles/s/setup-python3-pip3-as-default.md rename to snippets/python/s/setup-python3-pip3-as-default.md diff --git a/snippets/articles/s/breaking-react.md b/snippets/react/s/breaking-react.md similarity index 100% rename from snippets/articles/s/breaking-react.md rename to snippets/react/s/breaking-react.md diff --git a/snippets/articles/s/testing-async-react-components.md b/snippets/react/s/testing-async-components.md similarity index 100% rename from snippets/articles/s/testing-async-react-components.md rename to snippets/react/s/testing-async-components.md diff --git a/snippets/articles/s/testing-react-portals.md b/snippets/react/s/testing-portals.md similarity index 100% rename from snippets/articles/s/testing-react-portals.md rename to snippets/react/s/testing-portals.md diff --git a/snippets/articles/s/testing-redux-connected-components.md b/snippets/react/s/testing-redux-connected-components.md similarity index 100% rename from snippets/articles/s/testing-redux-connected-components.md rename to snippets/react/s/testing-redux-connected-components.md diff --git a/snippets/articles/s/testing-stateful-ui-components.md b/snippets/react/s/testing-stateful-ui-components.md similarity index 100% rename from snippets/articles/s/testing-stateful-ui-components.md rename to snippets/react/s/testing-stateful-ui-components.md