How to do JS?

Hi there, I have stared JS after doing Html CSS, and trying to make this cards section, but don't getting how to do it? I don't want to use SwiperJS, feeling really frustrating, anyone could guide how to start?
No description
2 Replies
MarkBoots
MarkBoots4mo ago
Tbh, as a starter this isn't the easiest thing to do The simple thing is to place all the product card on 1 line with an overflow scroll. Then the buttons can control the scroll position. The hard thing is to figure out how many cards are visible, how many indicators there are, which one is active, what the scroll position offset should be, and how it should respond on different screen sizes. Other questions: Should it be an infinite loop, what kind of transition, is there an auto animation, etc.. And then there is the accessibility. How to handle different kind of devices? Mouse, touch, keyboard Even more experienced developers won't just build this from scratch. JS libs are there for a reason (other people have already done the hard work for you, nothing wrong with that).
Hamza Naeem
Hamza Naeem4mo ago
Ok I found video in which they are using append and prepend for next and previous button, that looks simple to me So if I want to become front end developer, what roadmap I should follow, as till now I dont have any roadmap. As far as libraries are concerned, I think libraries are for those who know how this snippet would work and they can make it on their own, but in my case, I cannot make it on my own, that's why I don't want to use the library. @MarkBoots looking forward to your point of view, thanks
Want results from more Discord servers?
Add your server
More Posts
I think the responsiveness is just a tad bit messed up...Alrighty, I've created a very plain and simple Calculator but on the small screen (320px) It looks tHow can I move the content inside this container to the bottom?Ignore the bad styling to this, I still gotta fix it and mess around with it I just wanted to move tOverflow questionSo I've been trying to figure out a way to make my header semi-transparent while having it be stickyDoes justify-content work with flex-direction: column or not?I searched and google said that it doesn't but I tried using this code https://pastecode.io/s/yb98m9how to make this black top left corner on the image ?can anyone tell how I can do this ? I hope I am clearSanitize user input to avoid XSS attacks QuestionI have username and password for login and want to avoid the cross site scripting. I read that usingIdea for auto-width animation?Basically, for my element to have a smooth, auto width transition when content of it is changed. ExIs really necessary to learn React or Angular for front end?Hi, i just started diving into React and i don't understand why is used. To me it seems like it overStupid question: how do I view github repo files in Github desktop app?Attached is a picture of my Github Desktop. I would like to view the root directory of this reposiI'm having problems with some images in my project. They're not displaying the way they should.So they're displaying in a pretty weird way. I want to display the image so that the dogs are visibl