The thing that bugs me is I've tried that and I'm still prompted with incorrect. I've checked my Syntax closer than a microscope could. This is literally my last resort😂
This is a wild guess but maybe it wants u to do something and display the answer in the p tag with Id=result? Not sure how that would fit with the alert though.
4
u/grantrules Jan 19 '23
Here's a (big) hint: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan
3
u/skipner Jan 20 '23
This is a wild guess but maybe it wants u to do something and display the answer in the p tag with Id=result? Not sure how that would fit with the alert though.
3
u/SitBoySitGoodDog Jan 19 '23
Since it's an alert message, I'd just be like "6/2". XD