Exemplar 1 - using the FHIR $validate-code operation
Project
index.html
script.js
style.css

backing Plunker

index.html
Preview