Closed milancurcic closed 1 year ago
W3Schools Fortran playground have a nice solution to this IMO https://www.w3schools.com/tryit/trycompiler.asp?filename=demo_fortran. It's not responsive to window width, but provides a button for the user to change layout.
While individual elements in the Playground are responsive, the layout is not. Consider this screenshot from an iPhone window emulation:
Since there are two main elements in the playground (editor on the left and output+tutorial on the right), I think the best solution would be to have these two elements span the full width horizontally and be on top of one another on mobile/portrait windows.