This JavaScript tutorial will be a JavaScript exercise for beginners, where we learn how to create a dynamic welcoming message, that the users see when entering the website. We will be using most of what we learned in the previous DOM lessons to do this which makes this video great for understanding DOM manipulation.
β€ CHECK OUT THESE AWESOME PEOPLE!
Daniel Simionescu
Meet Daniel: another Full-Stack developer who can teach you coding fast and free π
https://www.youtube.com/channel/UCPIe87uLDW-QZ5FnUZqdxoA
β€ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful π
Material for this lesson: https://www.patreon.com/posts/javascript-32-21529650
Original source
25 responses to “32: JavaScript Exercise For Beginners | Dynamic Welcoming Message | JavaScript Tutorial | mmtuts”
;)Ψ΄ΩΨ±Ψ§ thats how we say thanks in arabic
Hi Daniel, thank you very much for your great lessons! I searched online and found a method called textContent and am wondering whether I can write: newElement.textContent = createTxtMsg; so that we may not need to use createTextNode at line 36. I tried it myself and it seemed to work, but I still want to know if it makes any difference by using textContent in this case, thank you!
Are you from a different planet! :O .it shows me always this message in the console π why ? what can i do ? +mmtuts
Thank you so much for these lessons. Really helpful!
This is the second TIme I write a Comment to your Video π
I just wanted to add a tip to your VIdeos. I think you are making the videos a little fast, it could be nice if you try a little bit slower, so the users can follow you!
I really appreciate your work, its nice and understandable!!
Thank You
+mmtuts i am e verry beginner in JS, and i want to try to make this message on my portfolio, to say hello to the people who visit it, do you think it's possible? The idea is when the people arrive on the site, after 5 sec for example the message apear with the dynamic content !!
The last else if (currentHour >= 22 && currentHour < 4) doesn't make sense to the browser so it will return the "are you from another planet" message. Therefore, if the value of currentHour = 22, so it can't be greater then 22 and less then 4, which will make this condition always false. The correct condition would be else if( (currentHour >= 22 && currentHour < 24) || (currentHour >= 0 && currentHour < 4) )
this is the first time i watch your video with your face , but your video really make sense and i like to watch every day to learn new thing from you, thank u mmtuts,
i want to ask u a question, is that good for validation form using javascript, or using php validation ?
hopefully make a sense : )
Can u help me ? / mail is nexen6games78909@gmail.com
Awesome stuff..a BIG like πππππ
Thanks to your php lessons I (with your help) created this website liekevandenpolfotografie.unaux.com
Absolutely love your teaching style and examples. Do you think you can do a tutorial on how to save a color scheme in php. For example I have a application with a header and I want my user to be able to change the color scheme and save his color theme. Canβt even imagine how this can be done?
Can't wait for more for your next episode O:)
Great video! You're awesome. Keep up the good work and also, I remember that you did a tutorial in JQUERY about a smooth scrolling to another page to a section, I would like to know how is done is JavaScript, and how is done in the same page! Thank you so much, for all the videos. π
I like how your channel is active and tutorials are just recent. The others are like 9 years ago
I need first chapter can i get
Hey Bro I was trying to use audio saying good morning at morning time and good afternoon and so on….
but i didnot want to see controls button of audio , so I used autoplay property in audio but the problem came that the audio played with no execution of if condition what could be possible error of this?
please make video series for ANGULAR JS. Thank you
senpai can you make an another calculator app? just like the normal app? when you press a button outputs the value then calculated? i had seen many calc.js but with different programming habits. can you make it like as a exercise?
Very good to understand. this is my first video I've watch to learn javascript. Thank you man..
Sir you do explain nice,
Please make a large assignment on JavaScript with html
Thank you so much , your videos help me a lot <3
A very helpful video, bro, thanks, so much.
Last else if() is never true…
x cannot be > 22 AND < 4.. Just saying π
What does this function "createtextnode" actually do? Why u can't just insert content with inner html.