Front End Development Libraries Projects - Build a JavaScript Calculator

Issue with the compute function. The operation that is passed to the compute function is always undefined. Not sure why it isn’t taking the stored operation from the chooseOperations function.

Your code so far

Your browser information:

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

Challenge: Front End Development Libraries Projects - Build a JavaScript Calculator

Link to the challenge:

hello and welcome to fcc forum :slight_smile:

first of very nice looking calculator, good job :clap:

  • did you try doing some “console.log” in that function to see your “logic” goes through or not?!

happy learning :slight_smile:

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