console.log('Hello world!');

@@ -1,29 +1,998 @@
-console.log('Hello world!');
+import %7BcalculateSavings%7D from './utils/fuelSavingsCalculator';%0A%0Afunction getById(id) %7B%0A  return global.document.getElementById(id);%0A%7D%0A%0Aconst newMpg = getById('new-mpg');%0Aconst tradeMpg = getById('trade-mpg');%0Aconst ppg = getById('ppg');%0Aconst milesDriven = getById('miles-driven');%0A%0Aconst settings = %7B%0A  newMpg: newMpg.value,%0A  tradeMpg: tradeMpg.value,%0A  ppg: ppg.value,%0A  milesDriven: milesDriven.value%0A%7D;%0A%0AnewMpg.onchange = (e) =%3E %7B%0A  settings.newMpg = e.srcElement.value;%0A  calculateSavings(settings);%0A%7D;%0A%0AtradeMpg.onchange = (e) =%3E %7B%0A  settings.tradeMpg = e.srcElement.value;%0A  calculateSavings(settings);%0A%7D;%0A%0Appg.onchange = (e) =%3E %7B%0A  settings.ppg = e.srcElement.value;%0A  calculateSavings(settings);%0A%7D;%0A%0AmilesDriven.onchange = (e) =%3E %7B%0A  settings.milesDriven = e.srcElement.value;%0A  calculateSavings(settings);%0A%7D;%0A%0A// let inputs = document.getElementsByTagName('input');%0A// inputs.map(function(input) %7B%0A//   input.addEventListener(%22change%22, function() %7B%0A//     alert('hi');%0A//   %7D);%0A// %7D);%0A
 %0A

Add fuelsavingsform logic