skip to Main Content

Html – Is there any other way to toggle the button for responsive design, my javascript code isnt working with this

Below is JS Code document.addEventListener("DOMContentLoaded,"); const toggleBtn = document.getElementById('toggle_btn'); const dropDownMenu = document.getElementById('dropdown_menu'); toggleBtn.onclick = function(){ dropDownMenu.classList.toggle('open'); } I want the dropdown menu to get toggled when clicked in the responsive design

VIEW QUESTION

Fix overflowed bottom when using SingleChildScrollView in Flutter

return Column( crossAxisAlignment: CrossAxisAlignment.start, mainAxisSize: MainAxisSize.max, children: [ Container( decoration: BoxDecoration( borderRadius: const BorderRadius.vertical( bottom: Radius.circular(25.0), ), color: Theme.of(context).primaryColor, ), child: Column( children: [ Padding( padding: const EdgeInsets.only( top: 25.0, left: 20.0, right: 20.0, bottom: 10.0, ), child: Row( children:…

VIEW QUESTION
Back To Top
Search