Basic JavaScript - Write Reusable JavaScript with Functions

Tell us what’s happening:
Describe your issue in detail here.
I have tried multiple times and ways to type the correct code, and it is identical to all of the answers in the forum yet it won’t work.
Your code so far

function reusableFunction() {
console.log(“Hi World”);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Basic JavaScript - Write Reusable JavaScript with Functions

Link to the challenge:

in your screen, do you see that there is a red line under the quotes? that’s because the quotes are not the proper ones needed for coding. In coding we use this character " not the curly quotes used in texting.

Thank you for your help. I’m not sure how I was able to input the other type of quotes, but it fixed it immediately. I will try not to ask silly questions in the future. Thank you again!

no worries. I once asked the same question…

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.