VS Code autocomplete not working

I’m trying to build my first React project from https://frontendmasters.com/courses/complete-react-v5/ using VS Code for Windows 10. I have installed Prettier and ESLint, and am using Parcel to transpile the code.

The IntelliSense is only working on my index.html file. It’s not working on the .js files. I’ve looked through old answers, but nothing has been helpful in solving my issue.

I’m new to React and would appreciate a step-by-step solution.

Screenshot

Project Files

Adapt Me

One possible solution to this issue is to install the JavaScript and TypeScript Nightly extension in VS Code. This extension provides better support for JavaScript and TypeScript language features and can help with IntelliSense issues.

To install this extension, follow these steps:

  1. Open VS Code and go to the Extensions panel on the left side of the window.
  2. Search for JavaScript and TypeScript Nightly and click Install.
  3. Once the extension is installed, reload VS Code.

After installing the extension, IntelliSense should work properly in your .js files. If this does not solve the issue, you may need to check your VS Code settings or try a different code editor.