Refactoring to Fragments

Learn how to make the codebase better by reusing code with the help of fragments.

Reducing duplication

Our edit.html still has a lot of duplication going on per property. We should refactor this a bit and introduce a few fragments to reduce the duplication.

As a reminder, this is the HTML for a single input we currently have:

Get hands-on with 1000+ tech skills courses.