Skip to content

Instantly share code, notes, and snippets.

ty.dulst.propertyValueChange = function(property, old, newString) {
ty.dulst.cardsInterface.cardCollection.each(function(card) {
var changeThisCard;
var out = card.get(property);
if (out && out === old) {
changeThisCard = true;
}
if (changeThisCard) {
console.log("attempting to update", card.get("title"));
I'm given the equation 5.9 = 5.11 - x, and I need to solve for x.
Let me start by isolating x:
5.9 = 5.11 - x
First, I'll add x to both sides:
5.9 + x = 5.11
Then I'll subtract 5.9 from both sides:
x = 5.11 - 5.9
Now I need to calculate 5.11 - 5.9:
5.11 - 5.9 = 0.21
Therefore, x = 0.21