What could I have done better? Feedback would be greatly appreciated. Also, could I be given some advice on how to animate an element when it's display is being changed to none or a valid alternative if that's not possible.
Fabiyi Johnson
@johnsinerAll comments
- @jaheemprevostSubmitted over 2 years ago@johnsinerPosted over 2 years ago
Hello, great job on the webpage. I don't think you can animate an element when its display is changed to none because when the display is changed to none the element is instantly removed from the dom. An alternative will be to set the width or height of the element to 0, or the translate it outside of the available veiwport space with animation added.
Marked as helpful1 - @TanvirAnzumSubmitted over 2 years ago
partial work done! only responsive for desktop screen. happy to hear your feedback
@johnsinerPosted over 2 years agoNice work so far... You could make the background color of the body a darker color like dark blue so the background is not white when the page is loading...
Marked as helpful1