FAQ: Intermediate JavaScript Modules - Import Named Imports


#1

This community-built FAQ covers the “Import Named Imports” exercise from the lesson “Intermediate JavaScript Modules”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Web Development

Introduction To JavaScript

FAQs on the exercise Import Named Imports

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!


#2

There seems to be an inconsistency in coding style in this section compared to the previous ones. While I was able to follow a specific coding style which I use in VS Code (including ES6 arrow functions), this doesn’t seem possible any more here. While the code does work fine, Codecademy’s questions “Did you…” are so cryptic in such cases that I had to ask for the solution several times, only to find out that a single SPACE in a function declaration was the culprit. Arrow functions seem to be forbidden as well.


#3

In these exercises suddenly it’s not allowed to use arrow functions and template literals anymore to continue to next steps. It takes some time to find out it is now expected to write the code in another way, and then refactor the code.

It would be nice if someone would take a look and fix this.


#4

Agree, the coding style is much more harsh in this lesson.


#5

I believe they might be using Babel to actually use ES6 import/export. That could explain the completely differently coding style required here, although this wouldn’t really explain the missing arrow functions.

What’s more concerning is that apparently no-one of the Codecademy team is interested in responding to ANY of my various comments and bug reports.