A web component that tells you if it's decorative gourd season.
Demo: decorativegourdseason.com
Source: decorative-gourd-season.js
<decorative-gourd-season>Is it decorative gourd season?</decorative-gourd-season>
<script type="module" src="https://decorativegourdseason.com/assets/scripts/decorative-gourd-season.js"></script>
Optionally you can use <template>
s to define the content of the component.
<decorative-gourd-season>
<template slot="yes">Yes, it's decorative gourd season! 🎃🦇👻</template>
<template slot="no">No, it's not decorative gourd season. ☹️</template>
</decorative-gourd-season>
Read the original article by Colin Nissan