وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

A Better Way to Learn JS: Useful Snippets

سرفصل های دوره

Dozens of exercises to build up your JS strength


1. Useful snippets focused on randomness
  • 1. Emulate a six-sided dice in JavaScript
  • 2. Pick a random array item in JavaScript
  • 3. Fun with booleans Randomly returning true or false in JS
  • 4. Pick a random number from a range of numbers in JavaScript
  • 5. Code a biased random number picker in JavaScript
  • 6. Pick a float from a range of nums or floats in JavaScript
  • 7. Make a random hex color in JavaScript
  • 8. Six ways to convert a string to an array in JS
  • 9. Check if a Number is Even in JavaScript
  • 10. Shuffle an Array in JavaScript
  • 11. Generate a Random Password in JavaScript
  • 12. Random Dice in JavaScript using toString() and Array.pop()
  • 13. Never Repeat Dice Throw Twice in a Row in JS
  • 14. Generate a Pseudo Random UUID in JS
  • 15. Random Number From -10 to 10 in JS
  • 16. Add Random CSS Classes to a Paragraph in JS
  • 17. Get a Palette of Three Shades of a Random Color in JS
  • 18. Get a random sub array from an array in JavaScript

  • 2. Useful Snippets focused on numbers
  • 1. Print All Odd Numbers in Range in JS
  • 2. Print All Even Numbers in a Range in JavaScript
  • 3. Format a number with a comma as a thousands separator in JS
  • 4. Format a number as currency in JS
  • 5. Convert an array of numbers to an array of ordinal numbers in JavaScript
  • 6. Count all elements with background set to a specific color
  • 7. Count the number of times a sub-string appears in a string
  • 8. Add leading zeros in front of a number
  • 9. Add up all the arguments passed to a function in JavaScript
  • 10. Calculate a Fibonacci sequence in JavaScript
  • 11. Calculate a factorial in JavaScript
  • 12. Convert a number to an array of its digits
  • 13. Round a number to a set number of decimals in JavaScript
  • 14. Check if a number is an integer or a float in JavaScript

  • 3. Useful Snippets Focused on Strings
  • 1. Convert an Array to a String in JavaScript
  • 2. Capitalize the First Letter of a String in JavaScript
  • 3. Convert a string to a number in JavaScript
  • 4. Find all vowels in a piece of text in JavaScript
  • 5. Capitalize a string in JavaScript
  • 6. Capitalize the first letter of a string in JavaScript
  • 7. Capitalize or lowercase the first letter of a string in JavaScript
  • 8. Capitalize the first letter of each word in a given string in JavaScript
  • 9. Replace the 1st occurence of a substring with another string in JavaScript
  • 10. Replace all instances of a substring with another string
  • 11. Convert kebab case to camel case in JavaScript
  • 12. Convert camel case to kebab case in JavaScript

  • 4. Fun With Loops in JavaScript
  • 1. Fun with loops in JavaScript, part 1
  • 2. Fun with loops in JavaScript, part 2 Mastering the Continue Statement
  • 3. Fun with loops in JavaScript, part 3 loops and the modulus operator
  • 4. Fun with loops in JavaScript, part 4 AN attempt at FizzBuzz (with errors)
  • 5. Fun with loops in JavaScript, part 5 A FizzBuzz implementation (without errors)
  • 6. Code a Lazy Caterers Sequence in JS
  • 139,000 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 35764
    حجم: 1494 مگابایت
    مدت زمان: 273 دقیقه
    تاریخ انتشار: 20 مرداد 1403
    طراحی سایت و خدمات سئو

    139,000 تومان
    افزودن به سبد خرید