A Weird Calculator that needs work...
So I made a calculator. I don't know what to say. It has around 800 lines of code. Took me around 7-8 hours for about 5 days to make this. Ran into a billion bugs... out in a field. Found about a trillion bugs in my code. Thanks, @TheOneCoder for saying that I put too much effort in this. FYI, works best on desktop. If it glitches for you guys, plz tell me so I can fix it.
Thanks!
nice pfp
It doesn't answer my question. when i write 2x2, it doesn't give me an answer when i press the answer button.
@pragatiaks Weird, it works for me.
@mikrokosmos-me you need to press the = button not the ans button
Woah amazing!
Thanks I will work on the CSS and fonts.
This is neat, good job! Here's an idea: Instead of just using a monospace font, use a 7-segment display font (and make the text bigger) to make it look more like a real calculator!
@fuzzyastrocat Could I use a 14-segment display font. The letters for sin, cos, tan, etc. are weird. BTW I found a free font family called DSEG
@Codeverse You're the designer, it's ultimately your decision not mine :)
But yeah, anything that gives that vibe would be great (DSEG looks good to me!)
Dangggg sorry for not noticing this sooner this is really, really kewl! I absolutely love it :D.
Sorry for the late reply. I loved all the feedback, good or bad. Thank you so much for helping me. My CSS is terrible, I know, but hey, maybe one day I'll wake up with enough strength to watch a CSS tutorial. @WhippingDot I rate you a 10* even though I don't rate myself that.
I don't have that much self-esteem.
@QuickV thanks for that comment. I was like, mhm my CSS is bad, and, wait! QuickV said my JavaScript is actually good. Wowie! Thanks, @FlamingHotValdez for saying I didn't use eval. I don't think I can use eval() in Javascript. But, I did use some make-your-own programming language tips so the "calc" array kind of looks like a tokenized string.
For the trig functions, I am a math genius and solved for the trig functions I used Google to help me find out what was cosecant and secant and cotangent, and the arc versions of them. Javascript doesn't have those functions.
A big thank you everyone who voted and/or commented!
BIG NUMBER
Maybe add an elipsis for a number that goes on forever and a line at the top for recurring decimals
very misleading calculator
3* rating i shall give
please rate me 10 *
i hope you were pleased with my rating
THANK YOU
This is so cool! The JavaScript looks amazing!
i give you credit for not using eval()
but improvements are necessary @FlaminHotValdez
Please rate my rating 10 star*
Thank you for rating
Have a good day
*This response was generated by 'The king of all bots i shall rule you and kill you muhahahaha'
nice
amazing