payment logic done

This commit is contained in:
2021-11-18 22:32:55 -03:00
parent 0ff5b5b92a
commit 4bbffe9d0c
10 changed files with 165 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
const calculateTotal = (totalPrice) => {
const totalElement = document.querySelector(".column.second-column h3 span")
console.log(totalElement)
totalElement.innerText = totalPrice
}
export default calculateTotal