Skip to content

Instantly share code, notes, and snippets.

View girlcheese's full-sized avatar
🏠
Working from home

Sam Carrington girlcheese

🏠
Working from home
View GitHub Profile
@girlcheese
girlcheese / index.html
Created July 16, 2020 22:09
Duck's Arduino Interface
<script>
// build the interface
const rowIds = [];
const $body = document.getElementsByTagName("body")[0];
$body.addEventListener("click", e => {
// event handler on body - need to check if the orginal target of the
// bubbled event has a value, i.e. is a checkbox
const val = e.target.value;