Latest solutions
Latest comments
- @shibuwd@farildsen
Hi Shibu,
Generally I find your code very clean and well written so hats off.
I have a couple of questions. In your style.css file you commented out the basic reset on line 35-40 containing the "box-sizing: border-box;". Any particular reason for that?
You have a conditional if-else statement in your app.js. Have you ever considered using conditional ternary operator? Perhaps something like: let toogleImg.src = (isOpen) ? './img/icon-close.svg' : './img/icon-hamburger.svg'
Anyways keep up the good work!
Cheers
Marked as helpful - @BushraDa@farildsen
Hi Bushra, Feel free to browse my repository to see how I chose to solve the tri-state toggle button. If you have any questions I'd be happy to try and answer them to the best of my ability.
Cheers
https://github.com/farildsen/farildsen.github.io