skip to Main Content

Html – Event listener not working on <select> element

The "change" event listener is not responding in the browser // mobile options const selectElement = document.querySelector(select) let spices = document.querySelector(".spices") let milletAndPorridges = document.querySelectorAll(".millet") let healthSupplements = document.querySelectorAll(".health") let spicesProducts = document.querySelectorAll("") let milletProducts = document.querySelectorAll("") let healthSupplementProducts =…

VIEW QUESTION

Collapsiable menu close all except target, when it open in jQuery

This is the HTML structure of my sidebar menu. Submenu is a collapsible menu. <ul class="block-navigation" id="sidebar-navigation"> <li class="navigation-item has-child navigation-submenu"> <a class="open-submenu" href="#"> School Affairs <em></em> </a> <ul class="block-navigation-submenu"> <li class="navigation-item"> <a class="" href="#"> <span>School Affairs</span> </a> </li> <li…

VIEW QUESTION

Html – Jusitify self end not working tailwindcsss

Trying to center the image while having the nav bar set on the right of the page <nav class="px-6 py-4"> <div class="justify-center flex items-center"> <div> <img class="flex h-12 " src="https://www.applesfromny.com/wp-content/uploads/2020/06/SnapdragonNEW.png"> </div> <button class="justify-self-end"> <i class="fa-solid fa-bars fa-xl"></i> </button> </div> </nav>…

VIEW QUESTION
Back To Top
Search