i got a home task for a web development position, please read it and write the steps of…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
i got a home task for a web development position, please read it and write the steps of process. im goint to use react, typescript, nest.js and mongo db. Tom is Josh’s mentor for JS, but while Covid is still out there he prefers to do remote sessions. Tom wants to share with Josh a piece of code, observe him while he is writing and changing the code in real time.
Help Tom creating an online coding web application with the following pages and features :
Lobby page (no need for authentication) : The page should contain the title “Choose code block” and a list of at least 4 items which represents code blocks, each item can be represented by a name (for example - “Async case”) Clicking on an item should take the user to the code block page with the details of the code block he chooses.
Code block page : Both users should enter this page. (2 different clients) Assume that the first user who opens the code block page is the mentor, after that, any other user will be counted as a student.
The mentor will see the code block he choose with a read only mode The student will see the code block with the ability to change the code Code changes should be displayed in real-time (Socket) Use highlight.js to highlight the syntax (you can use any other library) (Support JS code only)
General guidelines:
Code blocks should be created manually, no need for API or UI. A code block should have the fields ‘title’ and ‘code’ (code is a string which represent JS code) Add clear comments to the code where needed. This task involves client server and DB, you can use any framework/language you want.
***Submission instructions: *** Deploy the project and supply the url. You can use any service you would like for hosting your deployment.
Bonus: Have a “solution” on a codeblock object (also insert manually), once the student changes the code to be equal to the solution, show a big smiley face on the screen :)
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.