Appearance
Part 12 - Add courses to programme
PREREQUISITES
- Finished Laravel exercise -> Part 11 - CRUD Programmes
- Finished Laravel -> Admin: records
- When we navigate to the detail page of a programme we want to be able to add new courses to this programme
- Add a new action button with the icon of a book
- When you click on the book:
- A modal opens
- All the existing courses of the programme are shown
- When you hover over a course name, the course description is shown
- The modal shows a form to add a new course
- The form should have an input for the name and a textarea for the description
- When you add a course:
- A confirmation message is shown
- The name and description inputs are cleared
- The courses list is updated without refreshing or closing the modal
The End
- If you did all the previous steps, you succesfully finished the Student Administration application. Congratulations!
- Tip for studying: Look at the parts of the project we did together one more time. Or even better, change some things on your own. See if you can make the project do new things.
- Want to get really good at PHP? Here's an idea: try adding something new to the project. It could be a small part, like a new feature, or something bigger. This is a good way to make sure you understand PHP well and will be a great advantage for you on the exam and in the project of the second semester.