Design comparison
Solution retrospective
Not sure if this is how it was supposed to be:
I made the main body of the component and inside them the two messages, the question and the answer.
The answer is hidden to hide and they are inverted to take the place of the other.
My doubt is only if it should be like this or else the answer should be in absolute position and simply cover the question.
#################################
Não tenho certeza se era assim que deveria ser:
Eu fiz o corpo principal do component e dentro deles as duas mensagens, da pergunta e a resposta.
A resposta fica com hidden pra ocultar e elas se invertem pra uma tomar o lugar da outra.
Minha duvida é só se deveria ser assim ou então a resposta deveria estar com position absolute e simplesmente cobrir a pergunta.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord