Instagram massage


Repl link:

code snippet
1 Like

Hey @lucianaamaya welcome to the forums!

Thank you for your post and sorry that you are experiencing issues. However, we may not be able to help you with this issue if you do not complete the template fields fully.

Without a code excerpt and/or the link to your Repl there won’t be much we can do to help you. A screenshot of the expected output would also be appreciated.

The more information you provide at the start, the easier it will be to identify the bug in your program.

1 Like

Looking at your Repls, I assumed it’s this one here.

When you run the Repl, it pops an error saying that ReferenceError: Chat is not defined.

If you want to import it from another Javascript file, you will need to include it as so:

const Chat = require("file-that-has-chat.js");
// ...

If you want to include it as a website, you can use the HTML, CSS, JS repl and type in the message like so:

<!-- ... -->
<!-- ... -->

Hope this helps!

1 Like