6. Asking for feedback


#1

can someone please tell me what's wrong with my code? keeps telling me that there is a problem with my syntax.

      var feedback = prompt("please rate out of 10")
      if (feedback >= 8)
      {
          console.log("Thank you! We should race at the next concert!")}
          else
          {
              console.log("I'll keep practicing coding and racing.")}

#2

@zahras,

1

You should use the EXACT text's as are mentioned in the Instructions.

2

Try a reset of your Browser

++++ reset of session *****************
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom


#3

Thank you! it worked :slightly_smiling: