how do I make an infinite horizontal scroll

How do I make an infinite horizontal image scroll
20 Replies
b1mind
b1mind•11mo ago
can you share an example of what you want, or share what you have tried in a https://codepen.io Like is it looping through or loading more? cause both are very different things 😄
safeosprey
safeospreyOP•11mo ago
Neither it’s not even working. I was following Kevin’s YouTube video but it’s not working. They seem to be breaking down
b1mind
b1mind•11mo ago
best way to get help is to share a demo/code.
Jochem
Jochem•11mo ago
If you're following a video, it's doubly important to share your code. You'll have made a mistake somewhere, but we can't tell you where without you sharing your code, broken or not.
Jochem
Jochem•11mo ago
right now, this would be a valid answer to your question but this is probably the video you're following, so that's not particularly helpful https://www.youtube.com/watch?v=3yfswsnD2sw
Kevin Powell
YouTube
Create a horizontal media scroller with CSS
Horizontal scrolling components are becoming more and more common, so let's look at the CSS behind them! 💻 The starting code: https://codepen.io/kevinpowell/pen/NWwNvEG 💻 The finished version: https://codepen.io/kevinpowell/pen/ExbKBQa 🔗 Links ✅ Replay with Adam Argyle that I mentioned: https://www.twitch.tv/videos/1277849387 ✅ Adam's GUI c...
Jochem
Jochem•11mo ago
Kevin Powell
YouTube
Create an infinite horizontal scroll animation
🎓 Did you know I have courses? Both free and premium ones: https://kevinpowell.co/courses?utm_campaign=general&utm_source=youtube&utm_medium=infinitescroll Infinite scroll animations for things like logos are relatively common these days, but there is a lot that we can do incorrectly when making one, so I decided to try and make one that respec...
safeosprey
safeospreyOP•11mo ago
safeosprey
safeospreyOP•11mo ago
safeosprey
safeospreyOP•10mo ago
I'm following this one Hello?????
MarkBoots
MarkBoots•10mo ago
first issue I see in your document is this. (I didn't dive into it more)
No description
MarkBoots
MarkBoots•10mo ago
If this does not solve the issue, please make a codepen with ONLY the relevant part (not the whole page). That way it's easier for us to figure out what is going on.
safeosprey
safeospreyOP•10mo ago
OK let me try it out. Thank you so much. Yeah, it doesn’t solve the issue
MarkBoots
MarkBoots•10mo ago
make a codepen so we can see your working code (only the relevant part)
safeosprey
safeospreyOP•10mo ago
OK, thank you so much I really really appreciate the help
MarkBoots
MarkBoots•10mo ago
you are missing the js part which doubles the pictures
safeosprey
safeospreyOP•10mo ago
it's working on codepen, but it's not working on my visual studio this is so frustrating
MarkBoots
MarkBoots•10mo ago
do you have the JS? If you have linked it in the <head>, make sure you add the 'defer' keyword <script src="blabla.js" defer></script> Elsewise, check your console if there are errors
safeosprey
safeospreyOP•10mo ago
Oh my God, are you serious? I’m an idiot. Thank you so much. It’s working, but it’s very narrow in the bottom
Want results from more Discord servers?
Add your server