Anderson Fernandez• 350
@anderson-fndz
Posted
- to improve the code and not need to store each button in a variable it would be interesting to create a
form
and for each button to have aninput type: radio
this would make your code smaller, and adding a functionality to the buttons, thechecked
that would leave the selected button with a different color so that the user can see which option he selected - to make the card more like the original, try:
.card{
width: 400px;
height: 415px;
position: absolute;
display: flex;
justify-content: center;
flex-direction: row;
align-items: center;
border-radius: 35px;
background-color: #1F2630;
color: #ffffff;
}
- And you are to be congratulated for being able to do this code without needing help
Marked as helpful
1
Ranadheerm6• 60
@Ranadheerm6
Posted
@anderson-fndz Sounds great. Will try! Thank you :)
0