Hi all,
I have typed:
“const ticker = prompt(“Enter ticker of cryto to buy it:”);
const amount = +prompt(‘How much of ${ticker} would you buy?’);
console.log(‘You have just bought ${amount} of ${ticker}’); "
I have put the data into the prompt
and The result was:
" You have just bought ${amount} of ${ticker}”
why the console hasn’t output a sentence with a given value of variable amount and ticker?
Thanks
Kacper Pajak