Latest solutions
Latest comments
- @bennyheo@Reddsito
Hello, I will not be the most experienced but, the way I make the change is simply that, when an option is already selected, when pressing the "submit" button add a class to the main box, for example "--active" and I make that when that box has that class, do display: none to all the div, except the one I want to show, I don't know if it's more practical but it's an option :D
- @sociablerobot10@Reddsito
Hello, I will not be the most experienced, but a tip to center a div in the middle of the screen is with flexbox, I would recommend that you see a tutorial on it, to summarize you place in the body = display: flex, justify-content: center, align-item: center, width: 100%, height: 100vh. and done :D
Marked as helpful - @Kafka22@Reddsito
I recommend that you do the style in a css document to have everything more organized, it is a bad practice to place the style in the html
Marked as helpful