Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Pointsalert component
What's the meaning of "fading effect" in the alert component ? What observable changes he is reffering to?
2 Answers
nfs
35,526 PointsDear @aakashsrivastav,
Had to watch the whole video to understand what you were saying. Anyway, I got you, Guil was talking about the fade-out effect that was being caused when the X
in the alert box was clicked. This effect was being applied due to the fade
class.
I don't know if you tried it or not, but if you can experiment with the classes by removing them and adding them again, you can see the change in the browser. If you do remove those classes, you will observe that the change is abrupt. That means the alert dialog appears abruptly. On the contrary, those two classes (fade & show) make the changes smoother.
That's what Guil was referring to.
Happy coding.
Nafis Fuad
nfs
35,526 PointsGlad to help.
These are very easy to add. Just type out :clap:
and see it in action. It's called Markdown.
You can get a clear understanding about markdown from this course. It's very detailed and you'll get your answer from there.
Happy Learning
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 PointsAakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 PointsO thanks Nafis Faud. I got that. How you add those beautiful "Clap" stickers? :)