# (5) Validate Password Input for a Digit

> Episode of [One-Liner JavaScript Coding Challenge for Frontend Engineers](https://podistic.com/podcast/one-liner-javascript-coding-challenge-for-frontend-engineers.md) · Published September 10, 2021 · Duration 19:07 · Episode 5, season 1

- **Listen on Podistic:** https://podistic.com/episode/5-validate-password-input-for-a-digit
- **Audio:** https://anchor.fm/s/50701a84/podcast/play/40048063/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2021-11-30%2Ffe27d68f7c44d68b75fe51560180d819.m4a (audio/x-m4a)

## About this episode

**ATTN Coding Monks:** *Can you validate a password for the existence of a digit using only one line of JavaScript code?* Come sharpen your coding chops in this episode!

*If you know a clever one-line solution to this week’s coding challenge, please use the link below to record your answer. And if you can speak slowly and clearly, I may feature your voice in my next episode! But if it’s more convenient for you, you may use the Comment section of Medium or YouTube.*

**YouTube Video:** [**https://youtu.be/ogobv-ngv3U**](https://youtu.be/ogobv-ngv3U)

**Medium Transcript:** [**https://medium.com/siliconwat/podcast-episode-5-validate-password-input-for-a-digit-ab5a8706f476**](https://medium.com/siliconwat/podcast-episode-5-validate-password-input-for-a-digit-ab5a8706f476)

**CodePen:** [**https://codepen.io/siliconwat/pen/ZEaBVrd**](https://codepen.io/siliconwat/pen/ZEaBVrd)
