0
Help
I want to make an pop up interface that has 4 sections but you can see them all https://sololearn.com/compiler-playground/WNy5ECYc9a45/?ref=app
5 ответов
+ 1
https://sololearn.com/compiler-playground/Wg2awU3dPMOY/?ref=app
+ 1
your code seems incomplete.
you have css class in your js that is not in the css and html. where's .tab-btn?
what's contained in the popup- header? is there also supposed to be a button in there?
it also feels overly complicated...
i would just go with a dialog element...
0
Why not use flexbox or grid?
0
I solved my problem
0
Brian O'Connell
using a dialog element will save you a bit of css and js.
https://sololearn.com/compiler-playground/WpA1riRtVlzc/?ref=app