Mathzetta JavaScript Functions
Output Readme Download Replit Sel. & Copy Full

About

This repl allows users to edit a string to generate a JavaScript function. That function that can then be used to compute various values where needed.

To view this on TripleLog, click here.

HTML

There is a table that can be edited to change variable names and values. Other methods of input are possible or the header and values can be non-user editable since that is how it will normally occur. Then there is the text box to allow a user to edit the function.

CSS

Add CSS by editing the style.css file that is linked to in the head section or inline edit the style section in the head.

JavaScript

There is the mathzetta file from a CDN that is the default mathzetta file that converts strings to postfixed math.

There is the strToFunction.js file that uses the mathzetta file to convert a string into a function.

The script.js file in the interface between the UI and the other files.