This forum is now read-only. Please use our new forums! Go to forums
banner
Close banner
I am getting " It looks like you didn't set your div's opacity to 1" with no way past
I am getting the error: “ It looks like you didn’t set your div’s opacity to 1” with every combo of code possible.
I have tried in Chrome and Firefox, reset code and pasted, refreshed, tried another browser, it just does not work.
Code used: $(document).ready(function() { $(‘div’).mouseenter(function() { $(‘div’).fadeTo(‘fast’, 1); }); });
Any advice (or fix) would be gratefully received.
Answer 542dbd54631fe9b5c1000205
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
3 comments
this way I succeeded in finishing the lesson but it didn’t actaully fade
Thanks - that works as a cheat - they need to fix this page, though. Code above is correct and this whole page was crashing in Chrome. I could only get it to load in Firefox.
I had the same problem with page crashing in Chrome, quite a hassle indeed. There’s definitely a glitch with this exercise. Thanks for the tip it works when changed in the CSS ;)