This is a simple conversion from Whose Flag to Polymer 3. Whose Flag is a simple game that lets users guess a flag's country, that was created during the first Polymer Summit 2017's codelab.
You can find the original codelab instructions here, a similar repository on Polymer 2 here and a working demo here.
First, make sure you have the Polymer CLI installed. Then run polymer serve --npm
to serve your application locally.
Note the difference with the polymer serve
instructions for Polymer 2
$ polymer serve --npm
WIP: Polymer build does not seem to be supported yet for Polymer 3.
To be tested
The last version of this demo makes use of lit-html. Lit-HTML allows to use HTML templates, via JavaScript template literals.
The template literal is properly highlighted using Atom. No extensions are available yet to highlight the literal with VSCode that I know of.