Skip to content
Advertisement

Tag: bootstrap-5

Is Vanilla JS the same as plain Javacript in 2022?

I am using newest Bootstrap 5 and it says it doesn’t work with jQuery anymore, but with VanillaJS, which appears to be a new JS framework… The thing is, many people always used “vanilla” to refer to plain or native JS. Has this changed, and now “Vanilla JS” is the name of a framework, or am I missing something? Answer

Bootstrap toggler doesn’t hide

I am making a website using Bootstrap 5. The navbar can show the navigation when it is in a responsive viewport and I click the toggler icon, but doesn’t hide if I click it again. Looking inside the developer tools I see that the class show is still present. My html navbar: The Bootstrap scripts: The status of toggler before

Bootstrap modal being rendered inside side bar

I’m losing my head over this modal which keeps showing up inside my side div area, I haven’t found anything about it on the bootstrp5 documentation nor on any online forums. I just need it to render centered on the page, and the fade effect to affect all background, as per the bootstrap documentation (https://getbootstrap.com/docs/5.0/components/modal/). But I haven’t found any

How to change the element position?

In my browsers Firefox and Chrome I don’t get any errors or warnings. It’s just practice. I’m taking a course in javascript and Dynamic HTML. If anybody cares to look at my code and tell me what I’m doing wrong I’d appreciate it. There’s got to be something that I’m not getting right. I want to create new divs as

Click counter Bootstrap carousel button

Unfortunately, this is a remarkable stupid question. However, I could not figure out how to make a working click counter für the Bootstrap carousel button. The problem is the span element for the previous and next icons. The button counter does not count clicks on the repective span element. Answer Add your counter data attribute to the two buttons (this

Advertisement