viewof word_of_the_day = {
const myView = htl.html`<p>`;
for(const word of ["The", "bird", "is", "the", "word"]) {
const style = 'cursor: pointer; border: 2px solid #50f5; margin: .1em';
const clickableWord = htl.html`<strong style="${style}"> ${word} </strong>`;
myView.appendChild(clickableWord);
clickableWord.onclick = () => {
myView.value = word;
myView.dispatchEvent(new Event("input", {bubbles: true}));
};
}
return myView;
}