Answer the question
In order to leave comments, you need to log in
Testing system for Javascript + Node.JS + MongoDB?
Good evening, I'm starting to program in JS, at the moment I'm studying Node.JS, I was offered to make a personnel testing system, for free, I thought that this is not a bad way to make an item in my portfolio, but I don't know where to start from.
I imagine that in the database ( I don’t know which one to use yet, I have a little experience with MS SQL and MySQL, I read that it’s better to use Mongo with NodeJS ), questions and answer options will be stored, the correct answer will be somehow marked, the test starts, go questions and answers in a loop like variable_number of questions is decremented by 1, and the number of correct answers will be written to the variable using an increment.
But I can’t even imagine how to implement all this, how to display a question and answers on a page? with Form tag and getelementbyid JS? How to take data from the database and display them? With SELECT FROM?
I do not ask you to do it for me, I ask you to write the steps how you would do it and what you would use, I will try to find and read the rest.
Sorry if it's messy.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Obviously, you have not yet matured to the level of the task. Taking on a difficult task right away, without any skill and experience, is a so-so idea. Beginning musicians do not immediately undertake to perform Rachmaninov's concerto, because it is pointless. A beginner in sports does not immediately try to break a world record - he will not succeed. A student at a medical university is not given a scalpel and is not told to go and have an operation to remove an appendicitis. Is the analogy clear? Therefore, start with simpler things and gain experience. Good luck and be patient!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question