How to Detect Caps Lock using JavaScript in Input Forms

Опубликовано: 02 Июль 2026
на канале: CodingPorium
59
4

🙂Hey there coder! By using getModifierByState, today I will teach how to detect caps lock using Javascript! I have made a blog post regarding this project below :)

ℹ️SOURCE CODE + BLOG POST:
https://codingporium.blogspot.com

TIMESTAMPS:
0:00 Demo
0:15 HTML Codes
2:26 CSS Codes
5:46 JavaScript Codes
7:19 End Screen

❤️LET'S GET IN TOUCH:
https://codingporium.blogspot.com/p/c...

📝MY TEXT EDITOR
• Visual Studio Code
• Theme: Atom One Dark Theme
• Extensions: Live Server Preview, HTML Preview, Emmet (built-in)

🎵MUSIC CREDITS
Vlog No Copyright Music:
   / @vlognocopyrightmusic  

If you're reading this far, thank you very much🤗! Comment a 📂 if you've read this far. Buh-bye!

🚀MILESTONES
SUBSCRIBER COUNT: 76
DATE: 1 October 2021