When teachers click on the “lessons” page, they should also be able to see some form of an “edit” button. After clicking this button, we have two possibilities:
Inline Editing: Implement inline editing where after pressing the button, teachers can select lesson content by clicking and then they can edit it directly on the page. This would probably need JavaScript to handle the editing interface and some way to send the updated content to the server (maybe AJAX).
Separate Editing Page: We can also make a separate page for editing lesson content. The button on the lessons.html page would redirect teachers to this editing page where they can make changes.
When teachers click on the “lessons” page, they should also be able to see some form of an “edit” button. After clicking this button, we have two possibilities: