I am building something called the \"HTML Quiz\". It\'s completely ran on JavaScript and it\'s pretty cool.
At the end, a results box pops up that says \"Your Result
var shot1=imagify($('#widget')[0], (base64) => { $('img.screenshot').attr('src', base64); });
Take a look at htmlshot package , then, check deeply the client side section:
npm install htmlshot