Skip to main content
One-Liner JavaScript Coding Challenge for Frontend Engineers

One-Liner JavaScript Coding Challenge for Frontend Engineers

By Thon Ly

Every Friday, I publish a set of Frontend coding problems on Medium which corresponds to a chapter from my Udemy video course: A Complete Frontend Developer Textbook for Beginners. Your challenge is to solve these brain teasers using only one line of JavaScript code. The following week, I will broadcast the solutions and explanations as the next podcast episode. Come join me each week to sharpen your coding chops and gain Enlightenment as a Coding Monk in a quick and fun way!

These brain teasers are brought to you by Silicon Wat University and recorded from my Treehouse in Fresno, California
Available on
Apple Podcasts Logo
Google Podcasts Logo
Overcast Logo
Pocket Casts Logo
RadioPublic Logo
Spotify Logo
Currently playing episode

[10] Season 3 Begins!

One-Liner JavaScript Coding Challenge for Frontend EngineersMar 05, 2022

00:00
02:19
[11] Hello World
Mar 12, 202205:58
[10] Season 3 Begins!
Mar 05, 202202:19
[9] Count Up

[9] Count Up

ATTN Frontend Monks: Can you increment a number inside a HTML document using only one line of JavaScript code? Come sharpen your coding chops in this episode!

To submit your solution for the next Frontend Coding Challenge, simply go to my Scoreboard webapp, or just mention my hashtag #onelinerpodcast in your Twitter post. To ask for help from fellow coders or find a pair programmer, check out our Facebook Group for this podcast!

If you know a great one-liner Frontend Coding Challenge to recommend for my show, please use my link below to record your message. And if you can speak slowly and clearly, I may even feature your voice in my next episode! But if it’s more convenient for you, feel free to reply in the Comments section of YouTube, Medium, Codepen, or Spotify pertaining to this episode.

🎯 Podcast Scoreboard: https://scoreboard.siliconwat.com

📺 YouTube Video: https://youtu.be/hSETyCiPj1g

📖 Medium Transcript: https://medium.com/siliconwat/podcast-episode-9-count-up-f6d7c0e3b217

👩‍💻 CodePen: https://codepen.io/siliconwat/pen/WNXoLMg

Oct 15, 202123:09
[8] Count Down

[8] Count Down

ATTN Frontend Monks: Can you decrement a number inside a HTML document using only one line of JavaScript code? Come sharpen your coding chops in this episode!

To submit your solution for the next Frontend Coding Challenge, simply go to my Scoreboard webapp, or just mention my hashtag #onelinerpodcast in your Twitter or Facebook post. But if it's more convenient for you, feel free to reply with your solution in the Comments section of YouTube, Medium, Codepen, or Spotify pertaining to this episode.

If you know a great one-liner Frontend Coding Challenge to recommend for my show, please use my link below to record your message. And if you can speak slowly and clearly, I may even feature your voice in my next episode! Again, if it’s more convenient, feel free to respond in the Comments section instead.

🎯 Podcast Scoreboard: https://scoreboard.siliconwat.com

📺 YouTube Video: https://youtu.be/X8a4OB1jLvY

📖 Medium Transcript: https://medium.com/siliconwat/podcast-episode-8-count-down-fb347879d3f1

👩‍💻 CodePen: https://codepen.io/siliconwat/pen/jOaVXZQ

Oct 06, 202119:14
[7] Validate Password Input for a Special Character

[7] Validate Password Input for a Special Character

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

To submit your solution for the next Frontend Coding Challenge, simply go to my Scoreboard webapp, or just mention my hashtag #onelinerpodcast in your Twitter or Facebook post. But if it's more convenient for you, feel free to reply with your solution in the Comments section of YouTube, Medium, Codepen, or Spotify pertaining to this episode.

If you know a great one-liner Frontend Coding Challenge to recommend for my show, please use my link below to record your message. And if you can speak slowly and clearly, I may even feature your voice in my next episode! Again, if it’s more convenient, feel free to respond in the Comments section instead.

🎯 Podcast Scoreboard: https://scoreboard.siliconwat.com

📺 YouTube Video: https://youtu.be/ky31Ss7Q-5A

📖 Medium Transcript: https://medium.com/siliconwat/podcast-episode-7-validate-password-input-for-a-special-character-a3675f975223

👩‍💻 CodePen: https://codepen.io/siliconwat/pen/KKyNbQb

Oct 01, 202126:17
[6] Validate Password Input for Uppercase and Lowercase

[6] Validate Password Input for Uppercase and Lowercase

ATTN Frontend Monks: Can you validate a password for the existence of both a lowercase letter and a uppercase letter using only one line of JavaScript code? Come sharpen your coding chops in this episode!

To submit your solution for the next Frontend Coding Challenge, simply go to my Scoreboard webapp, or just mention my hashtag #onelinerpodcast in your Twitter or Facebook post. But if it's more convenient for you, feel free to reply with your solution in the Comments section of YouTube, Medium, Codepen, or Spotify pertaining to this episode. 

If you know a great one-liner Frontend Coding Challenge to recommend for my show, please use my link below to record your message. And if you can speak slowly and clearly, I may even feature your voice in my next episode! Again, if it’s more convenient, feel free to respond in the Comments section instead.

🎯 Podcast Scoreboard: https://scoreboard.siliconwat.com

📺 YouTube Video: https://youtu.be/i7TBzs4XdlE

📖 Medium Transcript: https://medium.com/siliconwat/podcast-episode-6-validate-password-input-for-uppercase-and-lowercase-9651ee2fa811

👩‍💻 CodePen: https://codepen.io/siliconwat/pen/MWObZQR

Sep 23, 202130:07
[5] Validate Password Input for a Digit
Sep 10, 202119:06
[4] Validate Password Length
Sep 04, 202117:20
[3] Add Hover Effect to DOM Element
Aug 26, 202106:58
[2] Update DOM Element Content
Aug 20, 202104:06
[1] Style a DOM Element
Aug 13, 202104:28
[Trailer] ATTENTION All Frontend Coding Monks!

[Trailer] ATTENTION All Frontend Coding Monks!

Come sharpen your coding chops every Friday by solving my brain teasers using only one line of JavaScript code!
Aug 12, 202100:53