[https://www.codecademy.com/courses/introduction-to-javascript/projects/es6-modules-workaround](https://WorkAround Explorer Project)
Hi,
In this exercise once I get up to steps 8, 9 where I am importing the functions from ‘./modules/workAroundModule.js’ and using the functions for ‘main.js’ the application no longer displays data or the radio buttons it had had from previous steps.
My code from Step 8 (in main.js):
import {
getAverageSalaryByRole,
getAverageSalaryByCompany,
getSalaryAtCompany,
getIndustryAverageSalary
} from ‘./modules/workAroundModule.js’;
My code from Step 9 (in main.js):
const averageSalaryByRole = getAverageSalaryByRole(role);
const averageSalaryByCompany = getAverageSalaryByCompany(company);
const salary = getSalaryAtCompany(role, company);
const industryAverageSalary = getIndustryAverageSalary();
I checked the hints as well as other forum posts with solutions and my code seems to be proper up to this point. I am having difficulty understanding this problem. I reset the project and did it from the start again checking the hints with the same result. It happens the moment I import the functions in step 8.
If anyone knows why this is happening, how I can debug things like this in the future, and a solution, that would be greatly appreciated. Thanks