In this series #JSComponentChallenge, I’m not teaching JavaScript from scratch — instead, I’m building small, real-world components to help you strengthen your fundamentals.
If you already know a bit of JS and want to get more confident with event handling, DOM manipulation, and thinking like a developer — this is for you.
Demo:https://codepen.io/shafi_3m/pen/GgJgaeg
GitRepo: https://github.com/shafi3m/JS-20day-components
In today’s video (Day 2), we’ll create a Show/Hide Password feature — just like the one you see in login forms.
🧠 What you’ll strengthen:
💡DOM selection
💡Attribute manipulation using .setAttribute()
🔐 Yes, some browsers add a default eye icon — but here we build it ourselves to learn the logic behind it.
💬 Got questions? Drop them in the comments.
📌 Like, Subscribe & follow along for more beginner-friendly JS components.
#JavaScript #WebDevelopment #Frontend #CodingProject #JavaScriptProject #LearnToCode #JSforBeginners #DOMManipulation #FrontendDev #CodeNewbie
Download
0 formats
No download links available.
Toggle Password Visibility with JavaScript | Show/Hide Input | Day 02 | NatokHD