chexbox / algcalc Goto Github PK
View Code? Open in Web Editor NEWJavascript Algebra Calculator
Home Page: https://chexbox.github.io/AlgCalc/
License: MIT License
Javascript Algebra Calculator
Home Page: https://chexbox.github.io/AlgCalc/
License: MIT License
Original post:
I post this from the library. I may or may not keep working on this until it is fixed. (No mobile data, 4 hour WiFi limit at library)
They will eventually resize to be full width.
Currently they eval everything in the formula box, and then run the function. They should support being parts of the formula.
Applies to sqroot, abs, x^2, sin, cos, tan, log, etc.
Might as well stay consistent and use html5
Consider using CSS Grid as it can do a table-like layout and is responsive.
However, backwards compatibility can be a problem.
The footer isn't quite ideal yet (it could use some styling and position work and needs to be implemented on all pages).
However, it could be an easy workaround for #39 by providing the same background color as the menu to fill the gap.
I quickly tested it, but it should be thoroughly tested.
Set up GitHub Pages so there is a live preview.
Here is what the most basic javascript will look like:
Navigation Menu only works on homepage.
matches background colors
The navigation bar is to big for my liking. I also think that the view on github button needs to be in the navigation bar.
The eval() function can't solve for variables or solve step by step. We need to write a script that feeds one step at a time.
What information do we want on the 'Develop' page?
*Maybe
We should add sub menu support.
I have decided to make a separate repository for calculations, as it will make this project more useful to everyone. (and it'll sure beat the use of eval)
I hope to hear from you at https://github.com/chexbox/Calc-API !
Please note: Continuation of this repository will most likely continue as planned.
Should I?
Also, consider using a different positioning for the bar when the menu is out.
It doesn't look right on IE.
As mentioned in #11
Should we? There are some talented people there.
To allow different roots and powers than 2.
FAQ
How to use
Contributors
This is the official place to ask questions (that are unrelated to developing).
Ask questions for the FAQ in the comments below.
HTML: class="key small"
CSS: .key-small
notice the "-" in the css.
Maybe create a dropdown menu?
On mobile devices it can take up too much space. I think we should keep the bar, but make it scroll with the page.
Any comments?
With Javascript you can use window.location.hash to read a hash at the end of a url window.location.hash
would return '#simple' for the url https://chexbox.github.io/Algebra-Calculator/#simple
We would use this to get calculators from different iframes.
They don't on mobile.
We should associate an open source license with this.
What buttons should we have?
0-9
.
/
=
x^2
x^3
x^x
square root
cubed root
x root
History?
previous answer
The equal sign will get used later for algebraic calculations, so I think we need a full-width calculate button at the bottom.
I'm not sure I like our use of colour as it is too close to scratch's colours. Discuss below possible replacements. (Green?)
We should work out a couple of sketches.
Cookies, what we don't collect, etc.
See CSS / preview
The formatting on the button that goes to the Github Repository is broken.
I am considering opening a JavaScript only repository that would replace our use of the eval function.
Any thoughts about this?
sqrt key and ^ key
Just some ideas:
jsCalc
WebCalc
OpenCalc (there is an old calculator with this name)
Calc.js
OpenAlgebra
Needs title tag in header to name the tab.
I broke them while dealing with too-long menus.
I think we can use this as an opportunity to put something more robust in place.
Replaces use of change theme section on homepage.
Do we place buttons for complex calculations, like variables? I think we should keep the buttons simple calculator only.
Whoops.
FF and Chrome seem to be working pretty well, however.
Eval doesn't work too well. Disabling for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.