10 Javascript Functions Examples You Can Use to Save Time

Dave Gray May 26, 2021
Video Thumbnail
Dave Gray Logo

Dave Gray

View Channel

About

Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more! My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others. Keep striving for progress over perfection. And a little progress every day goes a very long way. Milestones: July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs

Video Description

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap Learn 10 Javascript Functions Examples You Can Use to Save Time! In this tutorial, we'll look at 10 Javascript functions that are examples of utility functions. You can take these functions and use them over and over again in multiple projects. 🚩 Subscribe ➜ https://bit.ly/3nGHmNn 🚀 JavaScript for Beginners: Full Course (8 hours): https://youtu.be/EfAl9bwzVZk 🔗 Source Code: https://gist.github.com/gitdagray/df5a023fd41dd3d3d3b7a07a2779fec0 10 Javascript Functions Examples You Can Use to Save Time (00:00) Intro (0:16) Utility Functions (3:29) properCase and log (5:05) query selector with optional scope (6:16) addEventListener wrapper (8:15) sanitize input / escape characters (10:03) create element with optional class (11:01) delete contents (12:11) add class selector (12:54) identify iOS platform (14:22) get URL parameter value (18:35) Share Your Code in a gist on GitHub ✅ Follow Me: Twitter: https://twitter.com/yesdavidgray LinkedIn: https://www.linkedin.com/in/davidagray/ Blog: https://yesdavidgray.com Reddit: https://www.reddit.com/user/DaveOnEleven Was this tutorial about Javascript Functions Examples helpful? If so, please share. Let me know your thoughts in the comments. #javascript #functions #examples

You May Also Like