├── .gitignore ├── .vscode └── settings.json ├── CircuitBreaker ├── CircuitBreaker-configurable.js ├── CircuitBreaker-manual-overrides.js ├── CircuitBreaker-with-fallback.js ├── CircuitBreaker.js └── README.md ├── LICENSE ├── RGB-to-hex └── rbg-to-hex.js ├── accordion ├── index.html ├── script.js └── style.css ├── acsci-to-binary └── atob.js ├── advanced-obj └── main.js ├── arrays-methods ├── array-from.js ├── async 2.js ├── async.js ├── concat.js ├── copies.js ├── copyWithin.js ├── destructuring.js ├── entries.js ├── filter-hasNext.js ├── filter-numbers.js ├── filter-objects.js ├── find-indexes.js ├── find.js ├── flat.js ├── for-of-in.js ├── for.js ├── forEach.js ├── map.js ├── mother.js ├── push.js ├── reduce-to-array.js ├── reduce-to-object.js ├── reduce-to-value.js ├── shift.js ├── slice.js ├── some-every.js ├── sort.js └── splice.js ├── async-array-loops └── app.js ├── binary-search-algorithm └── main.js ├── calculate-mouse-pos └── mouse-position.js ├── camera-access ├── camera.html └── camera.js ├── challenges └── string-challenges.js ├── change-bg-color ├── index.html └── script.js ├── clock-in-cli └── main.js ├── color-methods ├── eyeDropper.js └── index.html ├── console └── log.js ├── count-of-lines ├── count-of-lines.js └── test.js ├── create-custom-element ├── index.html └── script.js ├── d3-parliment ├── d3-parliament-chart.js └── d3-parliament-chart.min.js ├── date-methods ├── date.js └── format-date.js ├── decimal-to-binary └── decimal-to-binary.js ├── email-validation ├── index.html └── script.js ├── equations └── liner-aquation.js ├── fetch-api └── chaining-promises.js ├── flat-flatmap └── flat.js ├── generators ├── generate-otp │ └── generate-opt.js └── id-generator.js ├── graph-traversal ├── breadth-first-search.js ├── dfs.js └── graph.js ├── guess-number └── main.js ├── hash-train └── hash.js ├── html-to-text └── html-to-text.js ├── js-algorithms ├── bubble-sort │ └── bubble-sort.js ├── selection-sort │ └── main.js └── sort │ └── sort.js ├── js-clock ├── index.html └── script.js ├── js-tricks ├── async.js ├── calculateDaysBetweenDates.js ├── clone-object.js ├── download-file.js ├── functions.js ├── get-ip.js ├── promis.js ├── string-search.js ├── uid.js └── using-switch.js ├── letter-to-UpperCase └── main.js ├── local-storage └── save-localStorage-to-file.js ├── matrix-bg ├── index.html └── scripts.js ├── mobile-phone-methods ├── orientation.js ├── phone-vibration.js └── screen-wake.js ├── mouse-methods └── onOutsideClick.js ├── onclick └── index.html ├── oneLineCodes ├── 20OneLinesPro.js └── script.js ├── palindrome └── checkPalindrome.js ├── password-validator ├── index.html ├── script.js └── style.css ├── photo-uploader ├── index.html └── scripts.js ├── pwd-generator ├── index.html └── script.js ├── quiz └── quizq.js ├── react └── index.html ├── readme.md ├── recaptcha └── recaptcha.js ├── recursive-factorial └── rf.js ├── reduce-method └── index.js ├── regex-pattern ├── validate-email.js └── validate-phone-number.js ├── rxjs ├── index.html └── index.js ├── search └── search.js ├── short-code-snippets └── app.js ├── snake-game ├── draw.js ├── fruit.js ├── index.html └── snake.js ├── sololearn └── js-course │ ├── currency-convertor.js │ └── snail.js ├── sort-by-js ├── index.html └── script.js ├── speed-typing ├── index.html ├── scripts.js └── styles.css ├── string-methods ├── byte-to-size.js └── limit-with-substring.js ├── text-to-img-server ├── text-to-img.md └── txt-to-img.js ├── textColor ├── index.html ├── script.js └── style.css ├── tip-calculator ├── index.html ├── scripts.js └── styles.css ├── touch-events ├── app.js └── index.html ├── ts ├── app.js ├── export-to-file.ts ├── get-ip.ts ├── index.ts └── string-code-extract.ts ├── url-snippets └── get-url-parts.js ├── useblackbox.io └── test.js ├── useful-Snippets ├── capitalize-string.js ├── clear-all-cookies.js ├── copy-to-clipboard.js ├── dynamic-get-all-el.js ├── generate-random-hex.js ├── reverse-string.js └── scroll-to-top.js ├── vanilla-web-components ├── counter.js └── index.html ├── web-worker ├── index.html ├── index.js └── worker.js ├── website-layout-with-sidebar ├── index.html └── palette.svg ├── why-people-hate-js └── resons.js └── ᛉ-algorithms ├── bubble-sort-search.js └── recursive-factorial.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CircuitBreaker/CircuitBreaker-configurable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/CircuitBreaker/CircuitBreaker-configurable.js -------------------------------------------------------------------------------- /CircuitBreaker/CircuitBreaker-manual-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/CircuitBreaker/CircuitBreaker-manual-overrides.js -------------------------------------------------------------------------------- /CircuitBreaker/CircuitBreaker-with-fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/CircuitBreaker/CircuitBreaker-with-fallback.js -------------------------------------------------------------------------------- /CircuitBreaker/CircuitBreaker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/CircuitBreaker/CircuitBreaker.js -------------------------------------------------------------------------------- /CircuitBreaker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/CircuitBreaker/README.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /RGB-to-hex/rbg-to-hex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/RGB-to-hex/rbg-to-hex.js -------------------------------------------------------------------------------- /accordion/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/accordion/index.html -------------------------------------------------------------------------------- /accordion/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/accordion/script.js -------------------------------------------------------------------------------- /accordion/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/accordion/style.css -------------------------------------------------------------------------------- /acsci-to-binary/atob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/acsci-to-binary/atob.js -------------------------------------------------------------------------------- /advanced-obj/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/advanced-obj/main.js -------------------------------------------------------------------------------- /arrays-methods/array-from.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/array-from.js -------------------------------------------------------------------------------- /arrays-methods/async 2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/async 2.js -------------------------------------------------------------------------------- /arrays-methods/async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/async.js -------------------------------------------------------------------------------- /arrays-methods/concat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/concat.js -------------------------------------------------------------------------------- /arrays-methods/copies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/copies.js -------------------------------------------------------------------------------- /arrays-methods/copyWithin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/copyWithin.js -------------------------------------------------------------------------------- /arrays-methods/destructuring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/destructuring.js -------------------------------------------------------------------------------- /arrays-methods/entries.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/entries.js -------------------------------------------------------------------------------- /arrays-methods/filter-hasNext.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/filter-hasNext.js -------------------------------------------------------------------------------- /arrays-methods/filter-numbers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/filter-numbers.js -------------------------------------------------------------------------------- /arrays-methods/filter-objects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/filter-objects.js -------------------------------------------------------------------------------- /arrays-methods/find-indexes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/find-indexes.js -------------------------------------------------------------------------------- /arrays-methods/find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/find.js -------------------------------------------------------------------------------- /arrays-methods/flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/flat.js -------------------------------------------------------------------------------- /arrays-methods/for-of-in.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/for-of-in.js -------------------------------------------------------------------------------- /arrays-methods/for.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/for.js -------------------------------------------------------------------------------- /arrays-methods/forEach.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/forEach.js -------------------------------------------------------------------------------- /arrays-methods/map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/map.js -------------------------------------------------------------------------------- /arrays-methods/mother.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/mother.js -------------------------------------------------------------------------------- /arrays-methods/push.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/push.js -------------------------------------------------------------------------------- /arrays-methods/reduce-to-array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/reduce-to-array.js -------------------------------------------------------------------------------- /arrays-methods/reduce-to-object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/reduce-to-object.js -------------------------------------------------------------------------------- /arrays-methods/reduce-to-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/reduce-to-value.js -------------------------------------------------------------------------------- /arrays-methods/shift.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/shift.js -------------------------------------------------------------------------------- /arrays-methods/slice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/slice.js -------------------------------------------------------------------------------- /arrays-methods/some-every.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/some-every.js -------------------------------------------------------------------------------- /arrays-methods/sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/sort.js -------------------------------------------------------------------------------- /arrays-methods/splice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/arrays-methods/splice.js -------------------------------------------------------------------------------- /async-array-loops/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/async-array-loops/app.js -------------------------------------------------------------------------------- /binary-search-algorithm/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/binary-search-algorithm/main.js -------------------------------------------------------------------------------- /calculate-mouse-pos/mouse-position.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/calculate-mouse-pos/mouse-position.js -------------------------------------------------------------------------------- /camera-access/camera.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/camera-access/camera.html -------------------------------------------------------------------------------- /camera-access/camera.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/camera-access/camera.js -------------------------------------------------------------------------------- /challenges/string-challenges.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/challenges/string-challenges.js -------------------------------------------------------------------------------- /change-bg-color/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/change-bg-color/index.html -------------------------------------------------------------------------------- /change-bg-color/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/change-bg-color/script.js -------------------------------------------------------------------------------- /clock-in-cli/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/clock-in-cli/main.js -------------------------------------------------------------------------------- /color-methods/eyeDropper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/color-methods/eyeDropper.js -------------------------------------------------------------------------------- /color-methods/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/color-methods/index.html -------------------------------------------------------------------------------- /console/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/console/log.js -------------------------------------------------------------------------------- /count-of-lines/count-of-lines.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/count-of-lines/count-of-lines.js -------------------------------------------------------------------------------- /count-of-lines/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/count-of-lines/test.js -------------------------------------------------------------------------------- /create-custom-element/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/create-custom-element/index.html -------------------------------------------------------------------------------- /create-custom-element/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/create-custom-element/script.js -------------------------------------------------------------------------------- /d3-parliment/d3-parliament-chart.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/d3-parliment/d3-parliament-chart.js -------------------------------------------------------------------------------- /d3-parliment/d3-parliament-chart.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/d3-parliment/d3-parliament-chart.min.js -------------------------------------------------------------------------------- /date-methods/date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/date-methods/date.js -------------------------------------------------------------------------------- /date-methods/format-date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/date-methods/format-date.js -------------------------------------------------------------------------------- /decimal-to-binary/decimal-to-binary.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/decimal-to-binary/decimal-to-binary.js -------------------------------------------------------------------------------- /email-validation/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/email-validation/index.html -------------------------------------------------------------------------------- /email-validation/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/email-validation/script.js -------------------------------------------------------------------------------- /equations/liner-aquation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/equations/liner-aquation.js -------------------------------------------------------------------------------- /fetch-api/chaining-promises.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/fetch-api/chaining-promises.js -------------------------------------------------------------------------------- /flat-flatmap/flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/flat-flatmap/flat.js -------------------------------------------------------------------------------- /generators/generate-otp/generate-opt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/generators/generate-otp/generate-opt.js -------------------------------------------------------------------------------- /generators/id-generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/generators/id-generator.js -------------------------------------------------------------------------------- /graph-traversal/breadth-first-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/graph-traversal/breadth-first-search.js -------------------------------------------------------------------------------- /graph-traversal/dfs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/graph-traversal/dfs.js -------------------------------------------------------------------------------- /graph-traversal/graph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/graph-traversal/graph.js -------------------------------------------------------------------------------- /guess-number/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/guess-number/main.js -------------------------------------------------------------------------------- /hash-train/hash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/hash-train/hash.js -------------------------------------------------------------------------------- /html-to-text/html-to-text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/html-to-text/html-to-text.js -------------------------------------------------------------------------------- /js-algorithms/bubble-sort/bubble-sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-algorithms/bubble-sort/bubble-sort.js -------------------------------------------------------------------------------- /js-algorithms/selection-sort/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-algorithms/selection-sort/main.js -------------------------------------------------------------------------------- /js-algorithms/sort/sort.js: -------------------------------------------------------------------------------- 1 | // this is sorting algorithms 2 | -------------------------------------------------------------------------------- /js-clock/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-clock/index.html -------------------------------------------------------------------------------- /js-clock/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-clock/script.js -------------------------------------------------------------------------------- /js-tricks/async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/async.js -------------------------------------------------------------------------------- /js-tricks/calculateDaysBetweenDates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/calculateDaysBetweenDates.js -------------------------------------------------------------------------------- /js-tricks/clone-object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/clone-object.js -------------------------------------------------------------------------------- /js-tricks/download-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/download-file.js -------------------------------------------------------------------------------- /js-tricks/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/functions.js -------------------------------------------------------------------------------- /js-tricks/get-ip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/get-ip.js -------------------------------------------------------------------------------- /js-tricks/promis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/promis.js -------------------------------------------------------------------------------- /js-tricks/string-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/string-search.js -------------------------------------------------------------------------------- /js-tricks/uid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/uid.js -------------------------------------------------------------------------------- /js-tricks/using-switch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/js-tricks/using-switch.js -------------------------------------------------------------------------------- /letter-to-UpperCase/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/letter-to-UpperCase/main.js -------------------------------------------------------------------------------- /local-storage/save-localStorage-to-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/local-storage/save-localStorage-to-file.js -------------------------------------------------------------------------------- /matrix-bg/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/matrix-bg/index.html -------------------------------------------------------------------------------- /matrix-bg/scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/matrix-bg/scripts.js -------------------------------------------------------------------------------- /mobile-phone-methods/orientation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/mobile-phone-methods/orientation.js -------------------------------------------------------------------------------- /mobile-phone-methods/phone-vibration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/mobile-phone-methods/phone-vibration.js -------------------------------------------------------------------------------- /mobile-phone-methods/screen-wake.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/mobile-phone-methods/screen-wake.js -------------------------------------------------------------------------------- /mouse-methods/onOutsideClick.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/mouse-methods/onOutsideClick.js -------------------------------------------------------------------------------- /onclick/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/onclick/index.html -------------------------------------------------------------------------------- /oneLineCodes/20OneLinesPro.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/oneLineCodes/20OneLinesPro.js -------------------------------------------------------------------------------- /oneLineCodes/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/oneLineCodes/script.js -------------------------------------------------------------------------------- /palindrome/checkPalindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/palindrome/checkPalindrome.js -------------------------------------------------------------------------------- /password-validator/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/password-validator/index.html -------------------------------------------------------------------------------- /password-validator/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/password-validator/script.js -------------------------------------------------------------------------------- /password-validator/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/password-validator/style.css -------------------------------------------------------------------------------- /photo-uploader/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/photo-uploader/index.html -------------------------------------------------------------------------------- /photo-uploader/scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/photo-uploader/scripts.js -------------------------------------------------------------------------------- /pwd-generator/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/pwd-generator/index.html -------------------------------------------------------------------------------- /pwd-generator/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/pwd-generator/script.js -------------------------------------------------------------------------------- /quiz/quizq.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/quiz/quizq.js -------------------------------------------------------------------------------- /react/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/react/index.html -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/readme.md -------------------------------------------------------------------------------- /recaptcha/recaptcha.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/recaptcha/recaptcha.js -------------------------------------------------------------------------------- /recursive-factorial/rf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/recursive-factorial/rf.js -------------------------------------------------------------------------------- /reduce-method/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/reduce-method/index.js -------------------------------------------------------------------------------- /regex-pattern/validate-email.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/regex-pattern/validate-email.js -------------------------------------------------------------------------------- /regex-pattern/validate-phone-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/regex-pattern/validate-phone-number.js -------------------------------------------------------------------------------- /rxjs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/rxjs/index.html -------------------------------------------------------------------------------- /rxjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/rxjs/index.js -------------------------------------------------------------------------------- /search/search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/search/search.js -------------------------------------------------------------------------------- /short-code-snippets/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/short-code-snippets/app.js -------------------------------------------------------------------------------- /snake-game/draw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/snake-game/draw.js -------------------------------------------------------------------------------- /snake-game/fruit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/snake-game/fruit.js -------------------------------------------------------------------------------- /snake-game/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/snake-game/index.html -------------------------------------------------------------------------------- /snake-game/snake.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/snake-game/snake.js -------------------------------------------------------------------------------- /sololearn/js-course/currency-convertor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/sololearn/js-course/currency-convertor.js -------------------------------------------------------------------------------- /sololearn/js-course/snail.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/sololearn/js-course/snail.js -------------------------------------------------------------------------------- /sort-by-js/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/sort-by-js/index.html -------------------------------------------------------------------------------- /sort-by-js/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/sort-by-js/script.js -------------------------------------------------------------------------------- /speed-typing/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/speed-typing/index.html -------------------------------------------------------------------------------- /speed-typing/scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/speed-typing/scripts.js -------------------------------------------------------------------------------- /speed-typing/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/speed-typing/styles.css -------------------------------------------------------------------------------- /string-methods/byte-to-size.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/string-methods/byte-to-size.js -------------------------------------------------------------------------------- /string-methods/limit-with-substring.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/string-methods/limit-with-substring.js -------------------------------------------------------------------------------- /text-to-img-server/text-to-img.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/text-to-img-server/text-to-img.md -------------------------------------------------------------------------------- /text-to-img-server/txt-to-img.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/text-to-img-server/txt-to-img.js -------------------------------------------------------------------------------- /textColor/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/textColor/index.html -------------------------------------------------------------------------------- /textColor/script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/textColor/script.js -------------------------------------------------------------------------------- /textColor/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/textColor/style.css -------------------------------------------------------------------------------- /tip-calculator/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/tip-calculator/index.html -------------------------------------------------------------------------------- /tip-calculator/scripts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/tip-calculator/scripts.js -------------------------------------------------------------------------------- /tip-calculator/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/tip-calculator/styles.css -------------------------------------------------------------------------------- /touch-events/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/touch-events/app.js -------------------------------------------------------------------------------- /touch-events/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/touch-events/index.html -------------------------------------------------------------------------------- /ts/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ts/app.js -------------------------------------------------------------------------------- /ts/export-to-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ts/export-to-file.ts -------------------------------------------------------------------------------- /ts/get-ip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ts/get-ip.ts -------------------------------------------------------------------------------- /ts/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ts/index.ts -------------------------------------------------------------------------------- /ts/string-code-extract.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ts/string-code-extract.ts -------------------------------------------------------------------------------- /url-snippets/get-url-parts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/url-snippets/get-url-parts.js -------------------------------------------------------------------------------- /useblackbox.io/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useblackbox.io/test.js -------------------------------------------------------------------------------- /useful-Snippets/capitalize-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/capitalize-string.js -------------------------------------------------------------------------------- /useful-Snippets/clear-all-cookies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/clear-all-cookies.js -------------------------------------------------------------------------------- /useful-Snippets/copy-to-clipboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/copy-to-clipboard.js -------------------------------------------------------------------------------- /useful-Snippets/dynamic-get-all-el.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/dynamic-get-all-el.js -------------------------------------------------------------------------------- /useful-Snippets/generate-random-hex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/generate-random-hex.js -------------------------------------------------------------------------------- /useful-Snippets/reverse-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/reverse-string.js -------------------------------------------------------------------------------- /useful-Snippets/scroll-to-top.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/useful-Snippets/scroll-to-top.js -------------------------------------------------------------------------------- /vanilla-web-components/counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/vanilla-web-components/counter.js -------------------------------------------------------------------------------- /vanilla-web-components/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/vanilla-web-components/index.html -------------------------------------------------------------------------------- /web-worker/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/web-worker/index.html -------------------------------------------------------------------------------- /web-worker/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/web-worker/index.js -------------------------------------------------------------------------------- /web-worker/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/web-worker/worker.js -------------------------------------------------------------------------------- /website-layout-with-sidebar/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/website-layout-with-sidebar/index.html -------------------------------------------------------------------------------- /website-layout-with-sidebar/palette.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/website-layout-with-sidebar/palette.svg -------------------------------------------------------------------------------- /why-people-hate-js/resons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/why-people-hate-js/resons.js -------------------------------------------------------------------------------- /ᛉ-algorithms/bubble-sort-search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ᛉ-algorithms/bubble-sort-search.js -------------------------------------------------------------------------------- /ᛉ-algorithms/recursive-factorial.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ehsanghaffar/javascript-playground/HEAD/ᛉ-algorithms/recursive-factorial.js --------------------------------------------------------------------------------