Dynamic Landing Page | JavaScript

  Рет қаралды 195,289

Traversy Media

Traversy Media

Күн бұрын

Пікірлер
@TraversyMedia
@TraversyMedia 5 жыл бұрын
I know it has been a bit slower than usual. I think I may make a video on this, but I am taking some extra time this summer to learn new things so that I can further my reach into things like asp.net for instance There is a ton of stuff I want to get into. So KZbin will be 1-2 videos per week for a little while as oppose to 3-4. I am still working on courses as well.
@aot2002
@aot2002 5 жыл бұрын
Hopefully .NET CORE and Entity Framework and SQL server
@alifellahi
@alifellahi 5 жыл бұрын
Hi Brad, thanks for the all the amazing tutorials! Did you consider making tutorials on Java/Kotlin ecosystem, Spring framework, Android...etc?
@gabrielmg3582
@gabrielmg3582 5 жыл бұрын
Take tour time Brad, l'm pretty sure you'll give us excellent content 😄 ASP.NET seems to be a great option to learn
@ohLyln
@ohLyln 5 жыл бұрын
.Net Core / ASP tutorials would be amazing Brad! As always great video you’re doing God’s work!
@RawCoding
@RawCoding 5 жыл бұрын
I make tutorials about dotnet core on my channel, maybe come check it out see if you like it? Any feedback welcome :) Love watching your videos btw, would like to see more on Rust.
@joelokoro9105
@joelokoro9105 5 жыл бұрын
The People's Champion. Thanks for all your hard work Brad. You're helping and changing so many lives. God bless you.
@TraversyMedia
@TraversyMedia 5 жыл бұрын
You're very welcome friend. Thanks for watching
@Almighty_Flat_Earth
@Almighty_Flat_Earth 5 жыл бұрын
Almost 15 videos in past 2 months about frameworks averaging around 28K views, but this pure JavaScript video has 80K views which clearly tells that people are much more interested in pure JavaScript than any framework.
@aleb687
@aleb687 4 жыл бұрын
If you don't like the numbers resizing the field while they progress, use: font-family: monospace to #time in CSS. This way each character has the same width regardless of it being a 0 or a 1
@rakshithsn1511
@rakshithsn1511 5 жыл бұрын
Brad, Most of the People say that the best way to learn about any Library or some Frameworks is through their Documentation. But what they don't tell you is that how one should approach them in an effective manner to get most of that documentation. Plz make a video, On who a person should approach about his learning methodology when he is learning a library like React Js for example purely from that Documentation. What are some of the strategies that you use personally to get most of any Documentation when you are dealing any Project Based On It.
@biscootbhai
@biscootbhai 3 жыл бұрын
hey bro --- can you please help me i want to show my bookmark as well just like momentum
@Lemeechi
@Lemeechi 5 жыл бұрын
Good job, Brad. Just a couple of tweaks I added to the JS. When AM/PM not required the full 24-hour time is shown. Then using concatenation to build time.innerHTML is simpler than using that long back-ticked string as you won't need to use for the ':' character.
@matthewreid1580
@matthewreid1580 4 жыл бұрын
Duuuuude! I have been trying for years to learn javascript. This tutorial showed me so much in a 35 minute video. You. Are. The. Man.
@dongkyle9275
@dongkyle9275 5 жыл бұрын
I'm a graduate students from Taiwan ,thanks for your hard work , I bought the course yesterday, It's very helpful for me.
@michrisoft
@michrisoft 5 жыл бұрын
Hey, everyone. If you're using a screen that is bigger than the image and it starts to repeat on you and look really crappy, you can fix that by adding a little css after each url link in setBgGreet: document.body.style.backgroundRepeat = 'no-repeat'; document.body.style.backgroundSize = 'cover';
@cagrioz9798
@cagrioz9798 5 жыл бұрын
Brad, you're always uploading many videos and saving people's days. Really I appreciate it, thank you.
@TraversyMedia
@TraversyMedia 5 жыл бұрын
No problem :)
@Piyush-yp2po
@Piyush-yp2po 6 ай бұрын
revised entire vanilla js from your playlist this week, loved them.
@nishes
@nishes 4 жыл бұрын
PLEASEEEE I LOVE YOU FOR MAKING THIS I never know where to start and lots of tutorials are overly boring or rambly. I love this tutorial love love love!
@fernwood
@fernwood 5 жыл бұрын
This is so cathartic to watch. You explain everything as you go so well.
@byedwardleung
@byedwardleung 4 жыл бұрын
i like these types of videos that is heavily focused on JS
@Glamorah
@Glamorah 5 жыл бұрын
Your video tutorials always rock. Thanks Brad!
@TraversyMedia
@TraversyMedia 5 жыл бұрын
Thanks :)
@bryancann8988
@bryancann8988 5 жыл бұрын
I had never enjoyed learning JS like this. I think short videos are more compelling and it is easy to grasp concepts than 5hrs long videos for beginners. I hope this could be the start of a short video series of raw JS. KEEP IT UP BRAD!!!
@ck0024
@ck0024 5 жыл бұрын
*Today I've made this. Thank you Brad.*
@AttkBeast
@AttkBeast 4 жыл бұрын
Hi Brad! I hope you're enjoying your break. It's important to know when it time to take care of yourself; it's a hard realization, too. Good for you man! I think I speak for others here that think you've made a smart decision about how to progress the channel as well. It's working! Prayers to you and your family.
@easycodingbysethu
@easycodingbysethu 3 жыл бұрын
Brad ! Your are inspirational to all of us
@pewdsadarshfan7142
@pewdsadarshfan7142 5 жыл бұрын
I was literally thinking we need this course and then you deliver! Thanks Brad!
@orj
@orj 5 жыл бұрын
I love this! Please do a video on how we can build the weather function as seen on the Momentum chrome extension in the top right corner!
@ElymusRoscoeJenkins
@ElymusRoscoeJenkins 5 жыл бұрын
You have truly been a blessing!!! I have learned so much from your videos!!! God Bless you and your family!!! Happy Coding my friend!!!
@andriiauziak1178
@andriiauziak1178 5 жыл бұрын
Very often I watch videos on this channel at least twice, because there is a lot of real life situations Bred made video about
@mrrolandlawrence
@mrrolandlawrence 5 жыл бұрын
Indeed the tiny payload of svelte does make it appealing... For tiny page sizes.
@domenicocucinotta2720
@domenicocucinotta2720 3 жыл бұрын
Thanks a lot Brad! As a beginner I have found this video super helpful! Cheers mate!
@realchrishawkes
@realchrishawkes 5 жыл бұрын
Good job Brad!
@ciocianiafrania
@ciocianiafrania 2 жыл бұрын
so happy I've discovered you! thanks for the cool tutoring!
@gustavonunes6866
@gustavonunes6866 5 жыл бұрын
I learned React before i even know how HTML and CSS works, your videos have been helping me alot to understand the magic that the browser does.
@milleniummoses
@milleniummoses 5 жыл бұрын
First...Great tutorial. I was pleased that I was easily able to follow along and understand. My mind was switching between the ES5 and ES6 syntax you were using. I would prefer if you either stuck with ES6 with arrow functions and maybe just say what it would have been had you used ES5 syntax.
@birsingh5388
@birsingh5388 5 жыл бұрын
Some legendary coding content on KZbin, great job Sir 👍
@JKaromo
@JKaromo 5 жыл бұрын
cool.... I've been waiting for another upload. Really love your content Brad.
@kevinzhang8974
@kevinzhang8974 5 жыл бұрын
Thanks Brad. I always like your landing page small project. very good for refresh syntax and easy to manage to code along with you. I just completed. Thank you!
@ProfKisha
@ProfKisha 4 жыл бұрын
This was great! I was having trouble understanding some of these JS concepts as well as connecting the HTML CSS and JS and this simple project really helped! Thanks!
@nicholasdunagan1992
@nicholasdunagan1992 5 жыл бұрын
How do you replace a URL with a src?
@EmOJaXuElPuNk
@EmOJaXuElPuNk 2 жыл бұрын
nice job dude, I'm just a beginner in this and I feel excited for coding like U, thanks
@jordihc
@jordihc 5 жыл бұрын
Ayyy, brad your the man. Wish everyone the best with their development journeys!
@iMustafaTube
@iMustafaTube 5 жыл бұрын
Love it! I'm actually working on creating my own "Dakboard" with weather, Google calendar, tasks, gmail ... etc. And I was looking into something dynamic like this!
@ankanroy2
@ankanroy2 2 жыл бұрын
Yeah Brad thats helps with beginner student thanks!!
@coolspeed8084
@coolspeed8084 5 жыл бұрын
You're so great sir. Please continue making full free tutorials for people who want to learn coding
@hermannrudas
@hermannrudas 3 жыл бұрын
Thank you very much Mr Brad ! Regards from Colombia
@4webdev
@4webdev 5 жыл бұрын
Best Instructor ever
@Icecrax
@Icecrax 5 жыл бұрын
Wouldn't the site be vulnerable towards XSS attacks?
@IreneSmith
@IreneSmith 5 жыл бұрын
Both of the events you used to detect the Enter key are deprecated. According to MDN Web docs, you should use KeyboardEvent.key instead. So the if statement would be: if(e.key === "Enter")
@Ronium22
@Ronium22 5 жыл бұрын
Excellent! I’m going to go through this tonight.
@victorschweitz3506
@victorschweitz3506 5 жыл бұрын
I only have one problem: I have taken the images from Brad's CodePen, but my images aren't centered. How do I do that when the images are inserted with JS? :)
@TygerM100
@TygerM100 5 жыл бұрын
i have this problem as well, would appreciate some help
@housemusiclassics
@housemusiclassics 5 жыл бұрын
Style.css Body{ Background-size: cover}
@rebelmachine88
@rebelmachine88 5 жыл бұрын
Good video! It'd be neat if when you select [Enter name] for the first time, it would select all the text or clear the text. I tried messing with it and made a function that cleared the text on focus, but ended up with an infinite loop lol.
@bolatt13
@bolatt13 4 жыл бұрын
This is great. But when we want to add name , we have to delete all of the [Enter Name]. How do I make [Enter Name] to be deleted or hide when I click on it. like a placeholder.
@georgestrippoli910
@georgestrippoli910 5 жыл бұрын
Thank you Brad! I really do like the way you teach. I've bought a couple of your courses on Udemy as well and always enjoy taking them. Keep up the great work!
@evankapantais5300
@evankapantais5300 5 жыл бұрын
Hey Brad, I recreated the widget and stumbled on an omission (if I'm not mistaken). If the user tries to input a name or focus and leaves the field blank (an empty string), the values on localStorage remain but without any value. Also, I think, the text input becomes non-editable if you trigger the setName or setFocus functions.
@gas452
@gas452 4 жыл бұрын
hey, i just went through this and really enjoyed the simple setup, but im having an issue where the changeable areas arent able to be selected if the user enters an empty string (the "focus" key stays in localstorage but that area isn't "clickable" because theres no text in it). ive tried a few fallback behaviors and none seem to work, any suggestions for making sure a default value stick around in there?
@GuitarsRgood7
@GuitarsRgood7 4 жыл бұрын
Really great video! The only thing that came out weird is the background image. It's really zoomed in. However, it does look like that in the codepen example as well.
@ConorBailey
@ConorBailey 5 жыл бұрын
Awesome video Brad! Although i'm slightly confused by the parseInt function. Can somebody please explain what the radix? is? Many thanks guys!
@HasinthaWeragala
@HasinthaWeragala 5 жыл бұрын
Thanks brad. Didn't know about localStorage object before. Awesome stuff
@hasanalkholy4861
@hasanalkholy4861 5 жыл бұрын
just checking your channel for new videos and i found one posted one hour ago i wonder when i will finish watching your old videos so i can keep up with the new ones
@magentaIX
@magentaIX 2 жыл бұрын
I am grateful for this 100%... Helpful for my js AI.
@Behold-the-Florist
@Behold-the-Florist 4 жыл бұрын
Great tutorial, thanks. What's the best way to change the background depending on whether or not it's morning, afternoon or evening without needing to refresh the page? I'm sure there are a number of ways to do it but I want to use the best practise. Thanks
@AliRazaiamaliraza
@AliRazaiamaliraza 5 жыл бұрын
Just Started your reactjs tuts. Highly intuitive.
@DaPenguinCuber
@DaPenguinCuber 2 жыл бұрын
Love the video, but how do you get the images to show on vscode?
@soufianesammah5936
@soufianesammah5936 5 жыл бұрын
Inspiring, as usual, thank you, Brad!
@kbcarte420
@kbcarte420 5 жыл бұрын
when you hit enter and call the blur() method, does setName function get called again? If it does, wouldn't that make the setItem() redundant since it gets called again in the else block?
@daanbreur
@daanbreur 5 жыл бұрын
How you convert it into a extention so it opens when you click new page?
@Peti222
@Peti222 5 жыл бұрын
Thanks Brad! I finished your JS course on Udemy last night and was looking for something to do today for practice. Fun little project.
@xfronwenzyoucamex
@xfronwenzyoucamex 3 жыл бұрын
great tutorial! Im sure I will be able to use these components elsewhere as well.
@diegoaugustoferreira5002
@diegoaugustoferreira5002 5 жыл бұрын
What is the name of the extension that you write just "span#ID" and get the whole phrase?
@Zawodowieec
@Zawodowieec 5 жыл бұрын
Thank you, buddy - such a great video as always. But wtf happened in 21:43 with your camera? Is it possessed?
@muadzrosli
@muadzrosli 4 жыл бұрын
Hi Brad. I have one question. The JS script only run once right? Only when we first time load the page. How can I make the background image changed live when the time changes over the stated limit? For example, I load the page at 11am, let the page open until time reaches 12pm, I want the background image to change to afternoon wallpaper.
@muhammadabubakrsiddique6419
@muhammadabubakrsiddique6419 5 жыл бұрын
Thank you Brad. I am learning javascript only for your help.
@blessdarah1256
@blessdarah1256 5 жыл бұрын
Very simple but interesting. Thanks Brad!
@femaledeer
@femaledeer 5 жыл бұрын
Isn't the call to showTime function in setTimeout recursion ? Would this result in stack overflow ?
@emmythepixi
@emmythepixi 5 жыл бұрын
Hey Brad, question about this project... is there a way to have the background change while the 'app' is running? I noticed when I left my project open for a while the time changed but the background didn't update until I reloaded the page. I'm not sure how to have it update "live".
@tiagooliveira9196
@tiagooliveira9196 5 жыл бұрын
I've made the addZeros function a little bit different: function addZero(n) {return n > 9 ? "" + n : "0" + n} Just a different suggestion ;) Thanks for another awesome video
@NasirulIslamSiat
@NasirulIslamSiat 5 жыл бұрын
excuse me can anyone tell me how to resize the image according to the browser size or how could I fit the image on the browser? I cannot fit the image on the screen
@jamiusamin
@jamiusamin 5 жыл бұрын
i think setting the Image Height = 100% and width = 100% in your css can help
@NasirulIslamSiat
@NasirulIslamSiat 5 жыл бұрын
@@jamiusamin thank you very much
@TheDjflb
@TheDjflb 5 жыл бұрын
in your body selector put the following: background-size: 100vw 100vh;
@jamiusamin
@jamiusamin 5 жыл бұрын
@@NasirulIslamSiat if that dose n't work What I did is that I created a function containing all background properties then I called it immediately after greetings to avoid repeating myself for the Three conditions
@NasirulIslamSiat
@NasirulIslamSiat 5 жыл бұрын
@@TheDjflb Thanks
@joel9909
@joel9909 5 жыл бұрын
Also please how do you make the seconds kinda fixed so the timer stops bumping, it hurts the eyes
@ayoadejoshua1635
@ayoadejoshua1635 4 жыл бұрын
Brad, you've been my role model since day 1, there's never been any tutorials you've done that I didn't understand.. But would appreciate if you can do a core tutorial on javascript, python and PHP, Love from Nigeria!
@DeepakPandey-mw1vp
@DeepakPandey-mw1vp 5 жыл бұрын
Respect from Nepal
@NurtureLove88
@NurtureLove88 4 жыл бұрын
Brad, when I delete the [Enter Name] or [Enter Focus] something weird happens to the text field. It's like it disappears altogether and I have a difficult time recovering it, especially for the field that reads [Enter Focus]. Any work-arounds or suggestions on how to fix this issue? Thanks so much for the wonderful content you provide. You're amazing!
@anonymouseverx
@anonymouseverx 5 жыл бұрын
Your contents are pure class. Thanks, Brad for everything.
@RobertWildling
@RobertWildling 5 жыл бұрын
You mention you made a video on Chrome ext dev. Unfortunately I cannot find it in your list. Could you post a link to it, please? Thanks a mil!
@mykolamysko987
@mykolamysko987 5 жыл бұрын
Is there any particular reason for using setTimeout instead of setInterval?
@starthu
@starthu 5 жыл бұрын
this was so fun to make thank very much!
@muhammadsajjad7957
@muhammadsajjad7957 5 жыл бұрын
Brad , you look cool with "computer glasses"
@networkfreddy2000
@networkfreddy2000 4 жыл бұрын
Wow this is my first JS tutorial i have watched..Where do i go from here!? I have an app idea so i can here to try to learn to build it my self..Do you often have to go back and look at documentation? It seems like you did the whole video freestyling code..
@nonsolovita
@nonsolovita 5 жыл бұрын
Hi there ,i would like to do something like this but in my desktop,should i use something like Electron ?
@emkhandigital
@emkhandigital 5 жыл бұрын
how do you add it to your web browser home page tabs
@captainHusein
@captainHusein 5 жыл бұрын
Hello, since I have just started learning HTML/CSS/JS , I have one question, how did you change the font color from black to white (on afternoon they were black and white in the evening )
@gmanpublications
@gmanpublications 5 жыл бұрын
Hey Brad nice job on the tutorial. I have just one question and it has been an issue for me for the longest time. When you were planning this tutorial out and you wrote down somewhere I want the background image to change with the time and I want the name to be editable. How did you break that down to what bits of code to use? That is the one thing I never learned how to do and most tutorials don't cover that. Thanks.
@mahbubulalam228
@mahbubulalam228 5 жыл бұрын
Just I open it & thanks a lot of you brad. You are my favorit teacher, I'm so glad for getting your nice videos on youtube. Many many thanks for you.
@dwsireland
@dwsireland 5 жыл бұрын
Thanks for another Super Post Brad.
@DesignMedium
@DesignMedium 5 жыл бұрын
Brad levelling up your thumbnail game lol Good tutorial!
@gurucode.studio
@gurucode.studio 5 жыл бұрын
Miss with the rest , Travis is the best 😎
@nayeemuddin4625
@nayeemuddin4625 4 жыл бұрын
Can i change the background image on click??
@bondlavern
@bondlavern 5 жыл бұрын
Excellent. I liked this a lot. Thanks.
@deejaydev
@deejaydev 5 жыл бұрын
Interesting Project! Already thinking of creating a chrome extension like this but using react... Good idea?
@joel9909
@joel9909 5 жыл бұрын
Hey guys the textContent of the focus and name (the contenteditable fields) do not clear on click. I have even tried writing an onclick event to clear it. No way. any help with how i may approach it
@eswarkrishnamaganti6409
@eswarkrishnamaganti6409 5 жыл бұрын
Super video Brad keep on doing more videos on js
@magentaIX
@magentaIX 2 жыл бұрын
Brad you are the best, my super Hero 🔥
@lardosian
@lardosian 5 жыл бұрын
Brad would be interested in a short video on your thoughts of using Amazon Cloud 9 as a development environment in the cloud, thank you.
@axaysushir
@axaysushir 5 жыл бұрын
My clock and background image not working. I will write same code as you mentioned. Also it give error about {addZero} is not defined
@mykalimba
@mykalimba 5 жыл бұрын
When you explicitly call name.blur(), does the event handler get triggered? If so, you can eliminate code that saves to localStorage in the keypress handler.
@ManuelCastillo-kq3xy
@ManuelCastillo-kq3xy 5 жыл бұрын
Brad, first: excellent job. And now my questions: its adaptable for difrent size of window (cell phone, ipad, other? What size are the image to background? THX men.
@joyokpuno
@joyokpuno 5 жыл бұрын
the same question I have, the images from pexels are either too small or too large, I'm wondering how to resize images through javascript
Rock Paper Scissors Game - UI & JavaScript
47:03
Traversy Media
Рет қаралды 66 М.
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 241 М.
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
How To Create The Perfect Landing Page For Google Ads (Real Examples)
13:18
Tradesman Digital Marketing
Рет қаралды 76 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,8 МЛН
Build A Clock With JavaScript
17:43
Web Dev Simplified
Рет қаралды 362 М.
Learn JavaScript With This ONE Project!
1:10:26
Tech With Tim
Рет қаралды 774 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Quick Autocomplete App With JS & JSON
19:29
Traversy Media
Рет қаралды 154 М.
JavaScript DOM Manipulation - Full Course for Beginners
2:41:21
freeCodeCamp.org
Рет қаралды 1,1 МЛН
The 2023 Frontend Development Crash Course - Learn HTML & CSS
2:09:28
DesignCourse
Рет қаралды 224 М.
Amazing Working Analog and Digital Clock Design using Html CSS & Javascript
22:35
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН