I don’t know if you figure this out, but the problem is that value returns a string, not a number. At this line,
total = tip + bill.value()
becomes
total = 2 + "10"
which results in “210” not 12. This is just a weird thing about javascript. You can fix it by converting the value to number, for example,
total = tip + int(bill.value())
or
total = tip + parseInt(bill.value())
And I couldn’t understand what you mean by “nothing shows”
What do you expect to show up?