@ApplePieGiraffe
Posted
Hey, Artem Ponomarenko!
You've done a good job, once again, on another challenge! π Your solution looks good and responds well! π
For your first question, you can set the opacity
of the error message to 0
rather than setting the display
to none
so that the error message still takes up space when it isn't visible. Then you can set the opacity
back to 1
when the error message should be seen but the height of the form shouldn't change because no new content is added. π IDK... that's just an idea. Perhaps try playing around with the visibility
property to achieve the same effect.
I don't use mixins in Sass very muchβso I might let someone else take your second question. π
Keep coding (and happy coding, too)! π
@ArtemPonomarenko
Posted
@ApplePieGiraffe
Oh wow! That's a great idea!! Thanks for the tip! Will implement! Cheers!