1👍
✅
You simply need to combine the code of your two templates. You can pass you data to your JS via the template by adding values in a <style></style>
tag if needed. Apart from there’s really nothing else there need to be done…
Source:stackexchange.com