Skip to content

Tag: javascript

Unable to make responsive aligment

Screenshot (The layout i look for) : My codes My current code : Works fine with large desktop, big screen and resolution But, When i check it with small desktop, mobile and small resolution screen, than the layout getting missed up. How to i make this responsive? Answer Removed most of the code from your CSS …

.each not always change values?

I have a site where I have 5 columns and I want to change their background with some random colors. I don’t get why sometimes it changes it, sometimes it doesn’t and some columns remain the same as before. I’ve put an alert to check if “colors[i]” change, and it does. So why do s…