I watched a few videos on this, cannot seem to convert to Hex or Binary.
I want to take the input, and log the hex and the binary of the input
var hexLetters = "0123456789ABCDEF".split("");
var decimalNum = Number(window.prompt("Enter a decimal number to convert"));
var binaryNum= "";
console.log("The number " + decimalNum + " in binary is: ")
console.log(Number.parseInt(binaryNum, 2)); // returns an integer of the specified radix or base.
var hexNum = "";
console.log("The number " + decimalNum + " in hexadecimal is: ")
console.log(Number.parseInt(hexNum, 16));