Skip to content

Commit 2ec924d

Browse files
authored
Merge pull request #292 from manasvi-pandey/master
fix: Fixed numbering and redirection for Q465
2 parents c64d380 + 99b2e06 commit 2ec924d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@
500500
| 462 | [What is inline caching?](#what-is-inline-caching) |
501501
| 463 | [What are the different ways to execute external scripts?](#what-are-the-different-ways-to-execute-external-scripts) |
502502
| 464 | [What is Lexical Scope?](#what-is-lexical-scope) |
503+
| 465 | [How to detect system dark mode in javascript?](#how-to-detect-system-dark-mode-in-javascript) |
503504
<!-- TOC_END -->
504505

505506
<!-- QUESTIONS_START -->
@@ -8782,7 +8783,7 @@ The execution context is created when a function is called. The function's code
87828783
87838784
<!-- QUESTIONS_END -->
87848785
8785-
464. ### How to detect system dark mode in javascript?
8786+
465. ### How to detect system dark mode in javascript?
87868787
87878788
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.
87888789

0 commit comments

Comments
 (0)