Skip to content

Instantly share code, notes, and snippets.

@kkgthb
kkgthb / yesno_live.html
Created October 25, 2022 01:14
Live updates of an HTML image based on radio button clicks
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enjoy your API</title>
<script>
const api_base_yesno = `https://yesno.wtf/api`
</script>
<script>