- script.js
JavaScript
console.log('Brekkie-meter v0.1 is launched');
Result
Goalscompleted
- Declare variable
milkInGrams, - use it to save data from the
muffin.askcommand with the question “Boss, how many grams of milk have you had?” - Send the following message made of three string fragments to the console:
'Brekkie-meter has received milk data. Consumed ', variablemilkInGrams, string' grams.'.
Comments