Akanksha• 80
@akankshav108
Submitted
Can someone tell me what is the difference when we do element.style.display = "block"; vs element.classList.add("show") where show is css class => .show{ display:block; }. Why do these two behave differently?
Also if you go through my code, please let me know if there is anything I can improve in HTML, CSS or JavaScript. I welcome all suggestions.