const checkoutMssgElement = document.querySelector('.checkout-mssg'); if (checkoutMssgElement) { // Step 2: Update the content of the element checkoutMssgElement.textContent = 'გადახდის განხორციელებამდე დაურეკეთ ოპერატორს'; } else { // Handle the case when the element is not found console.error('Element with class "checkout-mssg" not found.');