There is such a task, there are several pages of the site, nodejs and mongobd were connected to them, you need the user to answer questions on the site (links in the form of pictures), then on the last page he was issued, "We understood you correctly? You chose this, this and this. " How to implement it correctly? Please do not kick much, I'm a beginner in this business, I just can’t figure it out (((((
- Firstly, I think that to pass this test, the user must be authorized to link his answers to something from the database, well, I think so, for example, to ID or to Username. Next, when clicking on each link for links in the database , write down his choice in the answers, and at the end render the page with his answers and template - Pavel Igorevich
- Or if you don’t need to store this data, you can use localStorage. Just add there the progress of the test, and at the end of its output. Well or sessionStorage. - Lukas
- @PavelIgorevich This is completely optional. You can simply enter at one time. This is an example. - ʞɔᴉN ɹǝꓥ
|