Skip to content

Commit

Permalink
Merge pull request #292 from manasvi-pandey/master
Browse files Browse the repository at this point in the history
fix: Fixed numbering and redirection for Q465
  • Loading branch information
sudheerj authored Jul 10, 2024
2 parents c64d380 + 99b2e06 commit 2ec924d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@
| 462 | [What is inline caching?](#what-is-inline-caching) |
| 463 | [What are the different ways to execute external scripts?](#what-are-the-different-ways-to-execute-external-scripts) |
| 464 | [What is Lexical Scope?](#what-is-lexical-scope) |
| 465 | [How to detect system dark mode in javascript?](#how-to-detect-system-dark-mode-in-javascript) |
<!-- TOC_END -->

<!-- QUESTIONS_START -->
Expand Down Expand Up @@ -8782,7 +8783,7 @@ The execution context is created when a function is called. The function's code
<!-- QUESTIONS_END -->
464. ### How to detect system dark mode in javascript?
465. ### How to detect system dark mode in javascript?
The combination of `Window.matchMedia()` utility method along with media query is used to check if the user has selected a dark color scheme in their operating system settings or not. The CSS media query `prefers-color-scheme` needs to be passed to identify system color theme.
Expand Down

0 comments on commit 2ec924d

Please sign in to comment.