The sample code is for the widget Track. That particular widget is not included in the arcgis-experience-builder-sdk-resources GitHub repository, so I'm unsure how I would implement it. The downloaded file is just HTML.
I'm open to learning how to code, but this is for a work project that I'd like finished as soon as possible and this would be a huge step.
Any help is appreciated! Thank you.