Skip to content

Frontend: Layout planning #1

@ttiagojm

Description

@ttiagojm

ToDo

The layout doesn't have a specific line of thought, so be creative.
All you need to do is follow the points below:

Exercise page

  • Display the exercise and interpret the LaTeX on it
  • If the exercise is proof-based, it displays a text box so that the user can write LaTeX in real time.
  • If the exercise is multiple choice, show the options and user should be able to select one
  • A button to submit the solution (some validations should be done here e.g verify if it's not empty)

Solution page

  • After submitting the answer, a flag validating the submitted answer and a LaTex solution should be received by frontend. It should be displayed and LaTex should be parsed
  • If the flag validating the submitted answe is false or not set, then user didn't submit a valid answer and the solution will not be sent nor displayed. A informative text should be displayed, saying the answer was not valid and a redirect button should be placed for the user being able to return to the exercise page.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions