Learn Intermediate Algorithmic Thinking by Building a Dice Game - Step 23

Tell us what’s happening:

HELP!!! I can’t figure out the syntax on this or any of these steps. I am getting frustrated. I research and research and still am struggling.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

  } else {
    rolls++;
    function rollDice();
  
  }
  


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn Intermediate Algorithmic Thinking by Building a Dice Game - Step 23

Hi,

When calling a function, you don’t use the word “function”. Just write the function name.

Edit: Don’t worry if it gets hard sometimes, or when you get frustrated. Just relax your mind and think of possible ways of solving the problem. We’ve all been there, so don’t give up and keep trying.

1 Like

Oh man! I think I tried every combo BUT that . :sob:
Thanks for the encouragement. Much needed!

1 Like