0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<ul><li>script.js</li>
1
<ul><li>script.js</li>
2
</ul><p>JavaScript</p>
2
</ul><p>JavaScript</p>
3
<p>console.log('Brekkie-meter v0.1 is launched'); var milkInGrams = muffin.ask('Boss, how many grams of milk have you had?'); console.log('Brekkie-meter has received milk data. ' + milkInGrams + ' grams consumed.');</p>
3
<p>console.log('Brekkie-meter v0.1 is launched'); var milkInGrams = muffin.ask('Boss, how many grams of milk have you had?'); console.log('Brekkie-meter has received milk data. ' + milkInGrams + ' grams consumed.');</p>
4
<p>Thanks! We’ll fix everything at once!</p>
4
<p>Thanks! We’ll fix everything at once!</p>
5
<h2>Result</h2>
5
<h2>Result</h2>
6
<ol><li>Declare variable breakfastCalories,</li>
6
<ol><li>Declare variable breakfastCalories,</li>
7
<li>use it to save the result calculated with the formula described in the theory section.</li>
7
<li>use it to save the result calculated with the formula described in the theory section.</li>
8
<li>Log in the console a message made up of three fragments: string 'Calorific value of breakfast: ', variable breakfastCalories, line ' calories, boss!'.</li>
8
<li>Log in the console a message made up of three fragments: string 'Calorific value of breakfast: ', variable breakfastCalories, line ' calories, boss!'.</li>
9
</ol>
9
</ol>