I don't have any errors on my screen, but I don't seem to be getting any output. What did I do wrong?


#1

Questions

I don’t have any errors on my screen, but I don’t seem to be getting any output. What did I do wrong?

Answer

Make sure that you’re calling the function at the bottom of your code after your function. Example:
javascript const functionName = () => { ... }; functionName();
If you are calling the function but nothing is happening make sure you’re using () at the end of the function name like so: functionName() not just functionName.