here is the project: (loop in question starts at 108 but is commented out)
no css added yet, logic for calc works without a while loop triggering the function(= button) mutiple times untill output is assigned however if i add a while loop so it will calculate untill the output is found it gets stuck at the first statement and numOne seems to be assigned back to its default null causing an infinite loop?
im guessing something is causing a rerender but im not sure why or how is behavour works?
on a side note also test 8 doesnt pass: "As I input numbers, I should be able to see my input in the element with the id of “display” "
However the input deffently does update