In this second part, we'll first implement the necessary functionality to allow users to "fork" existing snippets. Then, we'll apply syntax highlighting (using highlight.js), and wrap up our project. View the source for this two-part lesson on GitHub.

Homework: Clone this project, and begin extending it with your own features. Here are some ideas to get you started:

Add user registration, and associate each snippet with an owning user.

Allow users to view only their snippets.

Add a "like" button to each snippet, and list users in sidebar by those who have the most snippet likes.