Skip to content

Instantly share code, notes, and snippets.

Created December 16, 2019 14:41
What would you like to do?
Hooking Up To The DOM and Selectors
//grabbing the dom ids:
const convertKelvin = document.querySelector('#convertKelvin')
const results = document.querySelector('#results')
const kelvinNumber = document.getElementById('kelvinNumber')
convertKelvin.onclick = () => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment