JavaScript Journey Episode 5 - RegEx (Regular Expression) Testing User Input in The Form & Validate

Subscribers:
4,160
Published on ● Video Link: https://www.youtube.com/watch?v=TY-cHmJ8dnI



Category:
Show
Duration: 12:25
24 views
2


This JavaScript Journey Episode 5 is all about Regex or Regular Expression in JavaScript, in Which to check a specific input of the user from the form, and then check it in the Regex Object that I made if it matches then validate.

Name: Bryan Ganzon Granse - A.K.A bryanDevs
Language: JavaScript
Episode: 5
Goal: Front-End Developer to Backend Developer to Full-Stack Developer
CSS Framework: Tailwind / Bootstrap

I mainly focus first on my strong understanding of the fundamental of Vanilla JavaScript, then proceed to TypeScript, and JavaScript Frameworks like Vue.js, Angular.js, React.js, and Next.js. My learning is infinite so I would like to document it here on my YouTube Channel.

Also, I think I do love to learn first the TypeScript/NodeJs and then ReactJs, since it seems to me that this is a bit fun, that's why I get my fixed plan to proceed ReactJs after mastering the in-depth Vanilla JS.

Now About This Video, TODO called 'RegEx or Regular Expression'

I will code it and take note that this is my TODO Exercise, that is why you see that CSS and HTML are already been added because this is just a JavaScript Journey, now the step will be added below about these small Exercises.

1. Declare the variable to get all the inputs in the form using the Query Selector All.
2. Next is, to create an Object for Regular Expression, which handles the username, password, email, telephone, and slugs, so all of it is based on that form created via HTML.
3. Now after that I use the FOR OF LOOP since I selected all the inputs which will return an HTML Collection that is why we need to loop it, you can also use the FOR EACH loop depending on your preference, but here I use FOR OF Loop.
4. I created a normal Function that will test the Regular Expression base on that RegEx Pattern I created in the object and call it inside the FOR OFF Loop which I added an Event Listener Keyup.
5. After that, you can see I tested it then since the user did not meet the requirement in the form there is an error message that will appear which set up to be opacity in the CSS class.

Want me to explain the Regular Expression Here? will I would love to do it, just leave a comment below.

JavaScript Journey Episode 5 - RegEx (Regular Expression) Testing User Input in The Form & Validate

javascript,javascript journey,javascript coding,javascript documentation,my coding journey,full stack journey,front-end developer portfolio,back-end web development,js,javascript vanilla,javascript for beginners,javascript tutorial,javascript tutorial for beginners,bryanDevs,Bryan Devs,Bryan Granse TV




Other Videos By Bryan Granse Devs


2023-11-08I want to Display Data from Dropdown or Selection Box Using JavaScript - My JS Exercises #1
2023-06-13Work from Home Fixing NGO's Website Video Not Playing to Other Browser Part Time Job
2023-06-12Very Relaxing Mousepad
2023-05-13Another Successful Website Speed Optimization - Google Page Insights
2023-04-19How to Create Vertical Line in Two Possible Way with the Latest Elementor Container
2023-04-17Planning the Pricing Page and Get Inspiration Design and Place all of it in Adobe XD + Elementor P-1
2023-04-10Building Page Using Elementor - Vlog #1
2023-03-18Display OS Free Memory and Convert MB to GB Using NodeJS - My Journey in NodeJS #bryanGranseDevs
2023-03-02JavaScript Journey Episode 6 - Fetching Live API With Demo Data from Reqres and Little CreateElement
2023-02-24Small Project 1: Quiz with Timer Using JavaScript | Bryan Granse #bryanDevs
2023-02-16JavaScript Journey Episode 5 - RegEx (Regular Expression) Testing User Input in The Form & Validate
2023-02-06JavaScript Journey Episode 4 - Extracting Data in Table Using JS and Log into Console | For-OF Loop
2023-02-04JavaScript Journey Episode 3 - Multiple Quiz Without Todo or Instruction - Test my Understanding
2023-01-29JavaScript Journey Episode 2 - Multiple Quiz Interaction Using JS by Bryan Ganzon Granse #bryanDevs
2023-01-27JavaScript Journey Episode 1 - Basic Quiz Interaction Using JS by Bryan Ganzon Granse #bryanDevs
2022-11-02Konting Coffee ☕ Sa Malamig na Umaga
2022-11-02Moment At Panabo Cemetery #allsoulsday
2022-01-06Filmora 9 Auto Shutdown Quick Fix!!
2021-12-31Advance Happy New Year in 2022
2021-08-29Rain Video Recording Around 1:13PM While Talking About One Piece Character
2020-08-16HOW TO STREAM ON FACEBOOK USING OMLET ARCADE ON YOUR ANDROID PHONE



Tags:
javascript
javascript journey
javascript coding
javascript documentation
my coding journey
full stack journey
front-end developer portfolio
back-end web development
js
javascript vanilla
javascript for beginners
javascript tutorial
javascript tutorial for beginners
bryanDevs
Bryan Devs
Bryan Granse TV