Giter Club home page Giter Club logo

javascript-cheatsheet's People

Contributors

chrishenderson07 avatar codewithbishal avatar engtuncay avatar hcz1 avatar kamleshpandey98 avatar renovate[bot] avatar wilfredinni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javascript-cheatsheet's Issues

Smooth transition from dark mode to light mode and vice-versa

I was referring to the JS cheatsheet and tried switching from light to dark mode. To my curiosity, I found that the transition happens instantly when you click the button to switch between the modes. However, on the other websites, I have seen a smooth transition from one mode to another. Since I have been looking to work on open source I think it is a good issue on which I can start working on.

I would appreciate it if you could assign this issue to me and let me know if this is something you would be accepting as a PR.

Below is the video to help you get a better idea:

Click here to watch the video

Thank you!

++ and --

The ++ and -- ops work differently depending on whether they're placed before or after the variable.

Say you make x=1.

If you run "y = ++x", then both x and y would be 2;

If you ran "y = x++", then y would be 1 and x would be 2.

Add Math Objects.

Issue: Enhancement - Add JavaScript Math Object Methods to Cheatsheet

Description:
The current JavaScript cheatsheet is a valuable resource, but it's missing essential information regarding the JavaScript Math object and its methods. This issue proposes adding essential Math object methods to enhance the cheatsheet's completeness and usefulness.

JavaScript Math Object Methods to Add:

  1. Math.sin(x): Returns the sine of x.
  2. Math.cos(x): Returns the cosine of x.
  3. Math.tan(x): Returns the tangent of x.
  4. Math.random(): Returns a pseudo-random number between 0 and 1.
  5. Math.round(x): Rounds a number to the nearest integer.
  6. Math.max(x, y, ...): Returns the largest of zero or more numbers.
  7. Math.min(x, y, ...): Returns the smallest of zero or more numbers.
  8. Math.abs(x): Returns the absolute value of x.

Benefits:

  • Inclusion of these methods will provide a comprehensive overview of the JavaScript Math object.
  • Users consulting the cheatsheet will have a quick reference for common mathematical operations.

Example Usage:

const angle = Math.PI / 4;
const sineValue = Math.sin(angle);
console.log(`The sine of ${angle} is ${sineValue}`);

Add new Topic

Hello I would like to add a new topic called ES6 tips and tricks to make your code shorter, clean code, and easier to read by a developer. Thank you

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency vitest to v1.5.1
  • chore(deps): update dependency vue-tsc to v2.0.14
  • fix(deps): update dependency prism-theme-vars to v0.2.5
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • @docsearch/js ^3.6.0
  • @headlessui/vue ^1.7.19
  • @vueuse/core ^10.9.0
  • @vueuse/head ^2.0.0
  • pinia ^2.1.7
  • prism-theme-vars ^0.2.4
  • vue ^3.4.21
  • vue-router ^4.3.0
  • @tailwindcss/forms ^0.5.7
  • @tailwindcss/typography ^0.5.12
  • @types/fs-extra ^11.0.4
  • @types/markdown-it ^14.0.1
  • @types/markdown-it-link-attributes ^3.0.5
  • @types/node ^20.12.7
  • @types/string 0.0.34
  • @typescript-eslint/eslint-plugin ^6.21.0
  • @typescript-eslint/parser ^6.21.0
  • @vitejs/plugin-vue ^5.0.4
  • @vue/compiler-dom 3.4.21
  • @vue/test-utils ^2.4.5
  • autoprefixer ^10.4.19
  • eslint ^8.57.0
  • eslint-config-prettier ^9.1.0
  • eslint-plugin-vue ^9.24.1
  • esno ^4.7.0
  • fs-extra ^11.2.0
  • happy-dom ^13.10.1
  • markdown-it ^14.1.0
  • markdown-it-anchor ^8.6.7
  • markdown-it-link-attributes ^4.0.1
  • markdown-it-prism ^2.3.0
  • ofetch ^1.3.4
  • postcss ^8.4.38
  • prettier ^3.2.5
  • prettier-plugin-tailwindcss ^0.5.13
  • prismjs ^1.29.0
  • string ^3.3.3
  • tailwindcss ^3.4.3
  • typescript ^5.4.5
  • unplugin-auto-import ^0.17.5
  • unplugin-vue-components ^0.26.0
  • unplugin-vue-markdown ^0.26.1
  • vite ^5.2.8
  • vite-plugin-pages ^0.32.1
  • vite-plugin-pwa ^0.19.8
  • vite-plugin-vue-layouts ^0.11.0
  • vite-ssg ^0.23.6
  • vite-ssg-sitemap ^0.6.1
  • vitest ^1.5.0
  • vue-tsc ^2.0.13

  • Check this box to trigger a request for Renovate to run again on this repository

Add Optional Chaining

Your repository is awesome.
But checking the information, I couldn't find a very interesting feature of Javascript, which is Optional Chaining.
I would like to contribute to this incredible project by adding this Javascript feature.
Please assign this task to me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.