why doesn’t my code work?

I have this code $(“div”).fadeOut(“fast”, ); and it never works, it always says, you must set your div opacity to ? I’m practicing coding on a website that’s why it tells me i’m wrong.

✅ Answers

  • the fadeOut syntax is not correct, see http://api.jquery.com/fadeOut/

  • did you try deleting the space between the , and ? (“fast”,)

  • Leave a Comment