Lab 20: Flex Panels
Link to Lab 20:
In this lab, we created five flex panel with text in the middle that when clicked would expand and hidden text would appear on the top and bottom of the panel. The panels were just divs with three paragraph tags within. I really enjoyed this lab because it was very visually appealing and I can think of situations where I can use this to improve a webpage, such as my own portfolio. The JavaScript mainly dealt with toggle that would affect the flex aspect of the panels’ CSS, that would be triggered using an event listener that would listen for a click and transitioned.
In this lab, we created five flex panel with text in the middle that when clicked would expand and hidden text would appear on the top and bottom of the panel. The panels were just divs with three paragraph tags within. I really enjoyed this lab because it was very visually appealing and I can think of situations where I can use this to improve a webpage, such as my own portfolio. The JavaScript mainly dealt with toggle that would affect the flex aspect of the panels’ CSS, that would be triggered using an event listener that would listen for a click and transitioned.

Comments
Post a Comment