I need help with a project

I’m kind of a beginner with JavaScript and HTML and my teacher has posted instructions on the class website: Make a calculator that only operates on the mean, median, and mode using only JavaScript and HTML. I’m lost and I have no idea how to do this. :frowning:

Then you really need to go back to the teacher and say so, as that’s not an appropriate situation in a learning environment. (A former classroom teacher speaking here!)

I did and he told me to ask my classmates. They didn’t know either.

Luckily for you there is a topic here that explains how

1 Like

Then he’s a failure of a teacher. :confounded: You really should press him for clarification, as that’s simply not good enough. He’s supposed to be a teacher, which means clarifying what the task is, and making sure you’ve been taught the necessary skills to undertake it.

@ralphm is right, ask your teach for clarification.

The first answer I gave you is probably all you need(functions that do those calculations).
If he’s expecting you to create a UI for it then you should have already be taught basic HTML / CSS.

There’s no need to create new posts with the same questions.

1 Like

It is unfortunately too often these days that this is the case. But then the ones that aren’t as dedicated and good at their jobs shine more light on the ones who are. I am hoping to get back into teaching. There are those who do it because they are passionate about educating young eager minds, and there are others that do it for a paycheck. Clearly you can tell which will be which kind of teacher. Sorry if this is off topic, but I just wanted to back you up ralphm. You are spot on that this teacher is not doing his job properly.

1 Like

Topic closed, as question is duplicated at How to create a mean, median, and mode calculator? and answered there.