Fade Navbar and Images on Scroll (with the Intersection Observer JavaScript API)

  Рет қаралды 5,741

Coding in Public

Coding in Public

Күн бұрын

Пікірлер: 30
@mehmetyavuzkatranc7724
@mehmetyavuzkatranc7724 2 жыл бұрын
Yesterday me and some friends (who are learning web development) were inspecting a website that does images on scroll and we were like "how the hell can we do this?". Timing and video recommendation is perfect. Thank you for the video.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
👊 I got you
@DTUSEM
@DTUSEM 2 жыл бұрын
I request to make series on how to make a blog website completely.
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Sounds like good material for a course :) When I get around to doing an Astro intro, I may make it a blog :)
@nnamdinwolisa8771
@nnamdinwolisa8771 2 жыл бұрын
So glad I found your video. I'm currently working on a project, and I needed a more efficient way to do this to avoid the issues of "scroll listeners". Thank you for this clean and helpful tutorial. Is this part of a series where you created the site from scratch?
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Glad you enjoyed it! I’m pretty sure I did several videos using this site, but I don’t think I built out the body from scratch? I could be wrong though. I know I did one on the nav bar.
@MarshallSC1
@MarshallSC1 2 жыл бұрын
Tutorials and content quality of the highest level. I wish I had access to you channel when I was starting out and learning webdev, would greatly shorten my learning time. I also like that you put in the effort to style your tutorial projects, however small they might be or unneeded to get the point of the functionality across. Thank you very much and keep it up!
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏 That's very kind. Just trying to make tutorials that would have been a help to me a few months back. I figure if I keep doing that, I can be a help to others. Just got to keep ahead of myself enough to keep putting things out :)
@RobertMcGovernTarasis
@RobertMcGovernTarasis 2 жыл бұрын
Oooo perfect timing, I’d read something earlier about intersectional observes but hadn’t dug into it (ended up in a 90 minute call)
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Great! Glad it was a timely help!
@vladimirbaetel2947
@vladimirbaetel2947 2 жыл бұрын
Chris, I've been a big fan for a while now, but damn do you videos come in handy! This is just what I needed ~ clean, easy to understand and implement. Thanks for the vid!
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏 that’s very kind. Glad to know it was a help! Thanks for taking the time to say something!
@DTUSEM
@DTUSEM 2 жыл бұрын
I also needed this. I was trying to understand it. Thanks Big Brother
@CodinginPublic
@CodinginPublic 2 жыл бұрын
👊
@lukecartwright613
@lukecartwright613 2 жыл бұрын
Another amazing video 👏
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙏 glad it was a help!
@JohnKomarnicki
@JohnKomarnicki 2 жыл бұрын
Awesome, i actually just started using this not to long ago!
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Nice! It’s pretty useful!
@Pupu._
@Pupu._ 2 жыл бұрын
thank you for the video! I am always struggling with scroll and your video is very helpful
@CodinginPublic
@CodinginPublic 2 жыл бұрын
So glad it was a help! Thanks for your kind comment.
@stiviniii
@stiviniii 2 жыл бұрын
Another great tutorial, please make a video of the ajax effect, for blog posts as lastly said. I want to apply it to my WordPress blog
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Hey! Glad you enjoyed it. Not exactly sure what you mean by the Ajax effect?
@stiviniii
@stiviniii 2 жыл бұрын
@@CodinginPublic when someone scrolls to the bottom, more articles load up
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Ah, okay, so fetching more data from a server. Got it. I've got it on my list for sometime, but it may be a bit. In the meantime, you can look for the last item in your list of current articles. When you get near the bottom (use the rootMargin), trigger another catch and updated your "last item" in your article list to the new last item. Hopefully that helps in the meantime.
@sidben7048
@sidben7048 2 жыл бұрын
thank you sir for this tutorial, can you also cover other observers such as mutation, resize, and performance observer
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Hey! Thanks for the suggestion. It may be a bit until I get around to those, but Web Dev Simplified has done some great tutorials on those. Here's the mutation one, for instance: kzbin.info/www/bejne/g5qXdnlvgJ1ql68
@blakegiunta
@blakegiunta 2 жыл бұрын
Great vid. What code font is that??
@CodinginPublic
@CodinginPublic 2 жыл бұрын
Hey, thanks! Cascadia Code! More info here: kzbin.info/www/bejne/a6aohYeOrbudbtU
@linezokode9766
@linezokode9766 2 жыл бұрын
first
@CodinginPublic
@CodinginPublic 2 жыл бұрын
🙌
Building Better Form Input Defaults
38:56
Coding in Public
Рет қаралды 4,3 М.
Introduction to the Intersection Observer JavaScript API
22:11
Kevin Powell
Рет қаралды 178 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 8 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 44 МЛН
A new approach to container and wrapper classes
25:27
Kevin Powell
Рет қаралды 260 М.
i fell for mocks again...
9:08
TheVimeagen
Рет қаралды 20 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,7 МЛН
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 175 М.
These CSS PRO Tips & Tricks Will Blow Your Mind!
8:48
Coding2GO
Рет қаралды 364 М.
Lazy-Loaded Images - Code This, Not That
4:47
Fireship
Рет қаралды 90 М.
Responsive Navbar HTML, CSS, and JavaScript
29:09
Coding in Public
Рет қаралды 4,7 М.
Learn Intersection Observer In 15 Minutes
15:32
Web Dev Simplified
Рет қаралды 335 М.
Show Active Nav Link with JavaScript
6:50
Coding in Public
Рет қаралды 18 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17