Ideas for a background? Or should i keep it simple?
I finished the JavaScript calculator challenge. Since we were learning about the Pythagorean Theorem in school, i decided to write some code to do it (don’t worry- didn’t use it to do my homework). Now when i went to go do this project, i thought of this code and decided to make a calculator out of it.
When your using the PT calculator, skip the red boxes/ text. Its just there to show what you’re going to calculate. It also doesn’t matter if you put the leg in C’s place, etc because it sorts he input by size anyways (when the programs goes to solve).
I finished this around 2+ weeks ago, but just remembered now. There is more i could of added (calculators) but i decided its time to move on.
I don’t think you should use “value=something” to populate your input fields because then the user will have to erase that text before they can enter their number.
@owel@Annestezia do you guys have any idea on why the bottom two rows of my calculator don’t work? When i go to click on them, it highlights the Algebra Calculator text below. Even if i try to highlight the button text it highlights the same Algebra Calculator``` text below it.
This is only happening because of the classes i use on lines 279 && 285 in css. These are used to change the margins of the calculators. the PT and regular calculator is in its own row separate from the algebra calculator and output. The two rows that contains the calculators are naturally stacked on top of each other.
I wanted to make them closer together so i made that class. If i remove the classes, the buttons work fine.
I marked where the row's && sep && sep2 end/ start on the html.
Why is this happening? Why does buttons not able to activate because of a margin?
When developing, sometimes it’s a good idea to temporarily put a border: 1px solid red around your divs so you can see exactly where they are positioned or how big/wide/tall they are.
yep there was/is a problem with your margins( overlapping elements) check this out .
i just commented out most of those huge margins , made it 1 row intead of 2 added couple of margins 20px 0 to separate calscs vertically;
there are still right margins there 4 margins’ lovers