Translation:Every student needs to attend science class.
"Every student needs to take science class" is wrong wtf, please learn more English Duolingo
I feel "take" is slightly American, but then Duolingo does use American English (rather than British) as its benchmark, so yeah... wtf
As an Australian I also feel "take" is a bit American but then I also don't think "attend" is quite the same so I can't think of an adequate British or Australian equivalent. (It's a long time since I've gone to school though.)
I can't think of a situation where that sentence would be correct. It needs the article "a".
What's the difference? Every student needs to take a science class or Every student needs to attend science class.
Maybe that “take” technically only refers to the act of putting that class on ones schedule but not necessarily actually going there (e.g. I can take a course but never show up and only do the final exam)? But I guess that distinction would be pretty nit-picky…
There are a LOT of universal replacements that need to be allowed on this course. Here, "has to" should be allowed as an alternative to "needs to".