Uncaughr Reference error!
The code is using jQuery, You need to add cdn script to the html between the head tags https://releases.jquery.com/
ODLNT thanks it worked, i think there is some issue with code playground. When i included CDN in my system it is working properply.
Glad to hear it, good luck with your project.
ODLNT I followed your advice, but it's still showing the same error