Skip to content

Tag: html

Responsive dotted lines among the images

I’m trying to create a responsive dots connecting among the images like below. I’m able to achieve this with CSS, but the layout is collapsing when I tried to change the image widths or parent div width. How can I make this layout work for all screens and image dimensions? Here is my code link: ht…

How to change the id of an element in html using javascript?

It is my first time using JavaScript. I am trying to make a button where every time visitors click, it’ll show another extra line of text. I often get an error on my JavaScript, and I’m not sure how to fix it. Thank you so much! HTML; JS; Answer Your code throws error because you are trying to set…

How to change Delay in swiper in swiper.js?

I am using swiper.js for making a slideshow of images and videos. Here i want to change delay when user click on a button. But i don’t know how to change delay in swiper or any other method to do it?? I have read documentation of swiper.js but there is no function to change delay after creating swiper o…

Problem with lightbox, on click event is not working

I have a stupid problem with jQuery.. I’m trying to make a simple lightbox and I have problems with the “close” button.. Here is what I have – a grid with some color variations. We have an image and a text for the color. When we click on it, we should see the image in a lightbox with b…