Is there a way to dynamically adjust the height of a <section>
element to match the viewport every time the page is reloaded? Once the height is set, it should remain fixed even if the user resizes the window.
For example, if the viewport's height is 450px, then the <section>
element should also be set to 450px. Even if the viewport is resized to 465px, the <section>
should still stay at 450px.
Any suggestions or solutions would be greatly appreciated!