Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

changes #12

wants to merge 1 commit into from

Conversation

stargazer4
Copy link
Contributor

@stargazer4 stargazer4 commented Feb 27, 2024

Front-end changes:

  • public/index.html: A new button has been added to the calculator's user interface to allow users to select the power operation.

Client-side JavaScript changes:

  • public/client.js: The calculate function has been updated to handle the power operation. When the '^' operation is selected, the URI is updated to include the pow operation.

Server-side JavaScript changes:

  • api/controller.js: The calculate function, which handles all the mathematical operations, has been updated to include the pow operation. This operation uses the Math.pow function to calculate the power of the input numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant