Skip to content

Instantly share code, notes, and snippets.

@01Clarian
Created December 16, 2019 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 01Clarian/092b4b09e8507b5e11937a2f6ccdf6fc to your computer and use it in GitHub Desktop.
Save 01Clarian/092b4b09e8507b5e11937a2f6ccdf6fc to your computer and use it in GitHub Desktop.
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 = () => {
console.log('test')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment