Weight Calculator Google

Weight Calculator Google: Free Online Tool :root { –primary-color: #004a99; –success-color: #28a745; –background-color: #f8f9fa; –text-color: #333; –border-color: #ccc; –input-border-color: #adb5bd; –shadow-color: rgba(0, 0, 0, 0.1); } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(–background-color); color: var(–text-color); line-height: 1.6; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; } .container { width: 90%; max-width: 960px; margin: 20px auto; padding: 25px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 12px var(–shadow-color); display: flex; flex-direction: column; align-items: center; } header { width: 100%; text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(–border-color); } h1 { color: var(–primary-color); margin-bottom: 10px; } h2, h3 { color: var(–primary-color); margin-top: 25px; margin-bottom: 15px; } .calculator-section { width: 100%; margin-bottom: 40px; padding: 30px; background-color: var(–background-color); border-radius: 8px; box-shadow: inset 0 2px 4px var(–shadow-color); } .calculator-section h2 { text-align: center; margin-top: 0; } .loan-calc-container { display: flex; flex-direction: column; gap: 20px; width: 100%; } .input-group { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 15px; } .input-group label { font-weight: bold; margin-bottom: 8px; color: var(–primary-color); display: block; } .input-group input[type="number"], .input-group select { width: calc(100% – 20px); /* Account for padding */ padding: 12px 10px; border: 1px solid var(–input-border-color); border-radius: 4px; font-size: 1rem; transition: border-color 0.3s ease; } .input-group input[type="number"]:focus, .input-group select:focus { border-color: var(–primary-color); outline: none; box-shadow: 0 0 0 2px rgba(0, 74, 153, 0.2); } .input-group .helper-text { font-size: 0.85rem; color: #6c757d; margin-top: 5px; } .input-group .error-message { color: #dc3545; font-size: 0.8rem; margin-top: 5px; height: 1.2em; /* Reserve space for error message */ } .button-group { display: flex; justify-content: center; gap: 15px; margin-top: 25px; flex-wrap: wrap; } button { padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; color: white; } button.primary { background-color: var(–primary-color); } button.primary:hover { background-color: #003a70; transform: translateY(-2px); } button.success { background-color: var(–success-color); } button.success:hover { background-color: #218838; transform: translateY(-2px); } button.secondary { background-color: #6c757d; } button.secondary:hover { background-color: #5a6268; transform: translateY(-2px); } .results-display { width: 100%; margin-top: 30px; padding: 25px; background-color: #e9ecef; border: 1px solid #dee2e6; border-radius: 8px; text-align: center; display: flex; flex-direction: column; align-items: center; } .results-display h3 { margin-top: 0; color: var(–text-color); } #main-result { font-size: 2.5rem; font-weight: bold; color: var(–primary-color); margin: 15px 0; padding: 10px 20px; background-color: #ffffff; border-radius: 5px; border: 2px solid var(–primary-color); display: inline-block; } .intermediate-results { margin-top: 20px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 15px; width: 100%; } .intermediate-results div { text-align: center; padding: 10px; background-color: #fff; border-radius: 4px; box-shadow: 0 2px 4px var(–shadow-color); } .intermediate-results span { font-weight: bold; font-size: 1.3rem; color: var(–primary-color); display: block; } .intermediate-results p { margin: 5px 0 0; font-size: 0.9rem; color: #6c757d; } .formula-explanation { margin-top: 20px; font-size: 0.95rem; color: #555; text-align: left; border-top: 1px dashed var(–border-color); padding-top: 15px; } .chart-container { width: 100%; margin-top: 30px; padding: 25px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 8px var(–shadow-color); text-align: center; } .chart-container caption { font-weight: bold; color: var(–primary-color); margin-bottom: 15px; font-size: 1.1rem; } #weightChart { max-width: 100%; height: auto; } .table-container { width: 100%; margin-top: 30px; padding: 25px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 8px var(–shadow-color); } .table-container caption { font-weight: bold; color: var(–primary-color); margin-bottom: 15px; font-size: 1.1rem; } table { width: 100%; border-collapse: collapse; margin-top: 15px; } th, td { padding: 12px 15px; border: 1px solid #dee2e6; text-align: center; } th { background-color: var(–primary-color); color: white; font-weight: bold; } tbody tr:nth-child(even) { background-color: #f2f2f2; } article { width: 100%; margin-top: 40px; padding: 30px 0; /* No horizontal padding as container handles it */ background-color: #fff; border-radius: 8px; box-shadow: 0 4px 12px var(–shadow-color); } article h2, article h3 { text-align: left; margin-left: 15px; margin-right: 15px; } article p, article ul, article ol { margin-left: 15px; margin-right: 15px; margin-bottom: 20px; } article ul, article ol { padding-left: 25px; } article li { margin-bottom: 10px; } .faq-item { margin-bottom: 20px; padding: 15px; background-color: #f8f9fa; border-radius: 5px; border-left: 4px solid var(–primary-color); } .faq-item h4 { color: var(–primary-color); margin-top: 0; margin-bottom: 8px; font-size: 1.1rem; } .faq-item p { margin-bottom: 0; } .internal-links { margin-top: 30px; padding: 20px; background-color: #e9ecef; border-radius: 5px; } .internal-links h4 { margin-top: 0; color: var(–primary-color); margin-bottom: 15px; } .internal-links ul { list-style: none; padding: 0; margin: 0; } .internal-links li { margin-bottom: 10px; } .internal-links a { color: var(–primary-color); text-decoration: none; font-weight: bold; } .internal-links a:hover { text-decoration: underline; } .internal-links p { font-size: 0.9rem; color: #555; margin-top: 5px; margin-bottom: 0; } footer { text-align: center; margin-top: 40px; padding: 20px; font-size: 0.9rem; color: #6c757d; width: 100%; } @media (max-width: 768px) { .container { width: 95%; padding: 15px; } .button-group { flex-direction: column; align-items: center; } .intermediate-results { flex-direction: column; align-items: center; } .intermediate-results div { width: 80%; margin-bottom: 15px; } }

Weight Calculator Google

Your simple and accurate tool for understanding body weight metrics.

Weight Conversion Calculator

Enter your weight in kilograms.
Enter your weight in pounds.
Enter your weight in stones.

Your Weight Conversion Results

Pounds (lbs)

Kilograms (kg)

Stones (st)

Formula Used:

Conversions are based on standard metric and imperial units: 1 kg = 2.20462 lbs, 1 stone = 14 lbs. The calculator prioritizes the last entered value and converts it to other units. For example, if you enter weight in kg, it calculates lbs and stones from that kg value.

Weight Unit Comparison
Weight Conversion Factors
Unit To Kilograms (kg) To Pounds (lbs) To Stones (st)
1 Kilogram (kg) 1.00 2.20462 0.15747
1 Pound (lbs) 0.453592 1.00 0.0714286
1 Stone (st) 6.35029 14.00 1.00

What is a Weight Calculator Google Tool?

A "Weight Calculator Google" tool, often referred to as a weight converter or body weight calculator, is an online utility designed to help individuals easily convert their body weight between different units of measurement. These units commonly include kilograms (kg), pounds (lbs), and stones (st). While often associated with Google due to its ubiquitous search engine, these calculators are available across numerous websites, providing a straightforward way to manage and understand personal weight data. They are particularly useful for individuals who are:

  • Traveling between countries with different standard weight units.
  • Following health or fitness programs that specify weight targets in particular units.
  • Comparing weight measurements from different sources.
  • Seeking a quick way to record or share their weight.

A primary misconception is that these tools are solely for weight loss or gain tracking. In reality, their core function is unit conversion, applicable to anyone needing to switch between kg, lbs, or stones, regardless of their fitness goals. It's a fundamental utility for managing weight data accurately and efficiently.

Weight Calculator Google Formula and Mathematical Explanation

The weight calculator Google tool relies on established conversion factors between different units of mass. The primary goal is to take a single input value in one unit and accurately derive its equivalent in other common units. The most fundamental conversions are:

  • Kilograms (kg) to Pounds (lbs): 1 kg ≈ 2.20462 lbs
  • Pounds (lbs) to Kilograms (kg): 1 lb ≈ 0.453592 kg
  • Stones (st) to Pounds (lbs): 1 st = 14 lbs
  • Pounds (lbs) to Stones (st): 1 lb ≈ 0.0714286 st

The calculator works by identifying which input field was last used by the user. This value is then used as the base for all conversions. For instance, if a user inputs '70' into the Kilograms field, the calculator will apply the conversion factors to find the equivalent pounds and stones.

Calculation Steps (Example: Input in Kilograms):

  1. Get Input: User enters a value, e.g., 70 kg.
  2. Calculate Pounds: Weight in lbs = Weight in kg * 2.20462. So, 70 kg * 2.20462 = 154.3234 lbs.
  3. Calculate Stones: Since 1 stone = 14 lbs, we first convert kg to lbs, then lbs to stones. Weight in stones = (Weight in kg * 2.20462) / 14. So, 154.3234 lbs / 14 = 11.0231 stones.

Conversely, if the user inputs in pounds or stones, the calculator performs the reverse calculations.

Variables Table

Variable Meaning Unit Typical Range (User Input)
Wkg Weight entered in Kilograms kg 0.1 – 1000+
Wlbs Weight entered in Pounds lbs 0.2 – 2200+
Wst Weight entered in Stones st 0.1 – 70+
Resultlbs Calculated Weight in Pounds lbs Derived
Resultkg Calculated Weight in Kilograms kg Derived
Resultst Calculated Weight in Stones st Derived

Practical Examples (Real-World Use Cases)

The weight calculator Google tool is versatile and applicable in various scenarios. Here are a couple of practical examples:

Example 1: International Travel and Health Check-up

Scenario: Sarah is traveling from the UK (where stones are commonly used) to the United States (where pounds are standard). She also has a doctor's appointment scheduled in the US and wants to provide her weight accurately.

Inputs:

  • She enters her weight in stones: 11 st 4 lbs. (For simplicity in the calculator, she might enter this as 11.2857 stones or convert it to lbs first: 11 * 14 + 4 = 160 lbs, then enter 160 in the pounds field). Let's assume she uses the calculator's lbs input: she enters 160 lbs.

Calculator Output:

  • Main Result: 160 lbs
  • Intermediate Values:
    • 72.57 kg
    • 11.43 st

Interpretation: Sarah can confidently tell her US doctor her weight is approximately 160 lbs. She also knows her weight in kilograms is around 72.6 kg, which is useful for understanding general health metrics.

Example 2: Fitness Program and Recipe Adjustment

Scenario: Ben is following a new fitness plan that requires him to track his weight loss in kilograms. He lives in Australia, where kilograms are the standard unit, but he recently bought a scale that only displays pounds.

Inputs:

  • Ben steps on his scale and sees his weight is 198 lbs. He enters 198 in the Pounds (lbs) input field.

Calculator Output:

  • Main Result: 198 lbs
  • Intermediate Values:
    • 89.81 kg
    • 14.14 st

Interpretation: Ben notes down his weight as approximately 89.8 kg for his fitness plan. This precise conversion allows him to accurately monitor his progress according to the program's requirements. He can also see this is about 14.1 stones, providing another perspective.

How to Use This Weight Calculator Google

Using our free Weight Calculator Google tool is designed to be simple and intuitive. Follow these steps to get accurate weight conversions:

  1. Input Your Weight: Choose ONE of the input fields (Kilograms, Pounds, or Stones) and enter your current weight value. It's best to use the most accurate measurement you have available. For instance, if you know your weight in kilograms, enter it into the "Weight in Kilograms (kg)" field.
  2. Click Calculate: After entering your weight into one field, click the "Calculate" button. The calculator will automatically convert your input into the other two units.
  3. View Results: The primary result (in the unit you last entered) will be displayed prominently. The equivalent values in the other units (kilograms, pounds, and stones) will be shown in the intermediate results section.
  4. Understand the Formula: Read the brief explanation below the results to understand how the conversion was performed. It confirms the standard factors used.
  5. Use the Table and Chart: Refer to the conversion table for exact conversion factors or the chart for a visual representation of how the units relate.
  6. Reset or Copy: If you need to perform a new calculation, click "Reset" to clear all fields and start fresh. To save or share your results, click "Copy Results." This will copy the main result and intermediate values to your clipboard.

Decision-Making Guidance: This tool helps remove confusion when dealing with different weight units. Whether you need to meet a target weight specified in kg for a diet plan, report your weight in lbs for a US-based program, or simply understand your weight in stones, the calculator provides the necessary data instantly. This accurate data empowers informed decisions regarding health, fitness, and even nutritional planning.

Key Factors Affecting Weight Calculator Results

While the weight calculator itself performs straightforward unit conversions, several external factors influence the *meaning* and *interpretation* of the weight results:

  1. Accuracy of the Measuring Scale: The most critical factor is the precision of the scale used to obtain the initial weight. A miscalibrated or faulty scale will lead to inaccurate input, rendering all subsequent conversions, while mathematically correct, based on flawed data. Ensure your scale is on a level surface and has been recently calibrated if possible.
  2. Unit of Measurement Preference: Different regions and contexts use different units. The calculator addresses this by offering conversions between kg, lbs, and stones. Your preference or the requirement of a specific program dictates which unit is most relevant to you. For instance, a UK-based athlete might focus on stone conversions, while someone comparing global nutritional data would prioritize kilograms.
  3. Time of Measurement: Body weight can fluctuate throughout the day due to factors like hydration, food intake, and activity levels. For consistent tracking, it's advisable to weigh yourself at the same time each day, ideally in the morning before eating or drinking. This consistency ensures the calculator reflects meaningful changes over time, rather than daily variations.
  4. Body Composition: Weight is a single metric, but it doesn't tell the whole story about health. Muscle is denser than fat, so someone with higher muscle mass might weigh more than someone with less muscle but more body fat, even if they appear similar in size. Factors like bone density and water retention also influence the number on the scale.
  5. Inflation (Conceptual Analogy): While not directly applicable to weight conversion, in financial contexts, inflation affects purchasing power. Similarly, the "value" or interpretation of a weight number can change based on context. A weight considered "healthy" for a bodybuilder might differ significantly for a marathon runner. The calculator provides the number; context is key.
  6. Fees and Taxes (Conceptual Analogy): In financial calculators, fees and taxes reduce net returns. In a weight context, factors like medical conditions (e.g., fluid retention due to kidney issues) or certain medications could artificially inflate weight, requiring a nuanced interpretation beyond the raw converted number.
  7. Cash Flow (Conceptual Analogy): Financial cash flow represents money moving in and out. Similarly, one can think of body weight as a balance of energy intake (calories in) versus energy expenditure (calories out). Consistent weight loss or gain reflects a persistent imbalance in this "energy cash flow."
  8. User Error in Input: Simply typing the wrong number or accidentally entering data into the incorrect field can lead to incorrect results. Double-checking the input before hitting "Calculate" is crucial for accuracy.

Frequently Asked Questions (FAQ)

Q1: What is the main purpose of a weight calculator Google tool?

A: Its main purpose is to convert body weight between different units like kilograms (kg), pounds (lbs), and stones (st) quickly and accurately.

Q2: Do I need to enter my weight in all three fields (kg, lbs, st)?

A: No, you only need to enter your weight into ONE of the fields. The calculator will then convert that value into the other units. Entering values in multiple fields might lead to conflicting results or calculations based on the last entry.

Q3: Is this calculator suitable for tracking weight loss or gain?

A: While it provides accurate conversions, this tool is primarily a converter. For tracking weight loss or gain over time, you would typically use a more comprehensive health app or journal where you log your weight regularly in a consistent unit.

Q4: What are the exact conversion rates used?

A: The calculator uses standard conversion rates: 1 kg = 2.20462 lbs, and 1 stone = 14 lbs. The table provided in the tool shows these factors in detail.

Q5: Can this calculator be used for converting the weight of objects, not just people?

A: Yes, the conversion factors are universal for mass. You can use this calculator to convert the weight of any object between kilograms, pounds, and stones.

Q6: Why is my weight different on different scales?

A: Scales can vary in accuracy due to calibration, model, and even the surface they are placed on. It's best to use the same scale consistently for tracking personal weight changes.

Q7: How accurate are the results?

A: The results are as accurate as the underlying conversion factors allow. We use widely accepted international standards. Accuracy also depends on the precision of your initial input.

Q8: Can I use this calculator on my mobile phone?

A: Yes, this calculator is designed to be responsive and works on all devices, including mobile phones, tablets, and desktops.

© 2023 Your Website Name. All rights reserved.

var kgInput = document.getElementById("weightKg"); var lbsInput = document.getElementById("weightLbs"); var stonesInput = document.getElementById("weightStones"); var weightKgError = document.getElementById("weightKgError"); var weightLbsError = document.getElementById("weightLbsError"); var weightStonesError = document.getElementById("weightStonesError"); var mainResultDisplay = document.getElementById("main-result"); var resultLbsDisplay = document.getElementById("resultLbs"); var resultKgDisplay = document.getElementById("resultKg"); var resultStonesDisplay = document.getElementById("resultStones"); var chart; var chartContext; var KG_TO_LBS = 2.20462; var LBS_TO_KG = 0.453592; var STONES_TO_LBS = 14; var LBS_TO_STONES = 1 / 14; function clearErrors() { weightKgError.textContent = ""; weightLbsError.textContent = ""; weightStonesError.textContent = ""; } function validateInput(value, inputElement, errorElement, label, min = 0, max = Infinity) { if (value === "") { errorElement.textContent = "This field cannot be empty."; inputElement.style.borderColor = "#dc3545"; return false; } var numValue = parseFloat(value); if (isNaN(numValue)) { errorElement.textContent = "Please enter a valid number."; inputElement.style.borderColor = "#dc3545″; return false; } if (numValue max) { errorElement.textContent = label + " is too high."; inputElement.style.borderColor = "#dc3545"; return false; } errorElement.textContent = ""; inputElement.style.borderColor = "#adb5bd"; return true; } function updateChart(kgValue) { if (!chartContext) { var canvas = document.getElementById('weightChart'); chartContext = canvas.getContext('2d'); chart = new Chart(chartContext, { type: 'bar', data: { labels: ['Kilograms (kg)', 'Pounds (lbs)', 'Stones (st)'], datasets: [{ label: 'Weight Conversion', data: [0, 0, 0], backgroundColor: [ 'rgba(0, 74, 153, 0.6)', 'rgba(40, 167, 69, 0.6)', 'rgba(108, 117, 125, 0.6)' ], borderColor: [ 'rgba(0, 74, 153, 1)', 'rgba(40, 167, 69, 1)', 'rgba(108, 117, 125, 1)' ], borderWidth: 1 }] }, options: { responsive: true, maintainAspectRatio: false, scales: { y: { beginAtZero: true, ticks: { // Include a dollar sign in the ticks callback: function(value, index, values) { return value.toFixed(2); } } } }, plugins: { legend: { display: false }, tooltip: { callbacks: { label: function(context) { var label = context.dataset.label || "; if (label) { label += ': '; } if (context.parsed.y !== null) { label += context.parsed.y.toFixed(2); } return label; } } } } } }); } var lbsValue = kgValue * KG_TO_LBS; var stonesValue = lbsValue / STONES_TO_LBS; chart.data.datasets[0].data = [kgValue, lbsValue, stonesValue]; chart.update(); } function calculateWeight() { clearErrors(); var kgValue = parseFloat(kgInput.value); var lbsValue = parseFloat(lbsInput.value); var stonesValue = parseFloat(stonesInput.value); var baseUnit = null; var baseValue = 0; var kgValid = validateInput(kgInput.value, kgInput, weightKgError, "Weight in Kilograms", 0); var lbsValid = validateInput(lbsInput.value, lbsInput, weightLbsError, "Weight in Pounds", 0); var stonesValid = validateInput(stonesInput.value, stonesInput, weightStonesError, "Weight in Stones", 0); if (!kgValid && !lbsValid && !stonesValid) return; // Do nothing if all invalid if (kgInput.value !== "" && kgValid) { baseUnit = "kg"; baseValue = kgValue; } else if (lbsInput.value !== "" && lbsValid) { baseUnit = "lbs"; baseValue = lbsValue; } else if (stonesInput.value !== "" && stonesValid) { baseUnit = "stones"; baseValue = stonesValue; } else { // If all fields are empty after validation, reset result mainResultDisplay.textContent = "–"; resultLbsDisplay.textContent = "–"; resultKgDisplay.textContent = "–"; resultStonesDisplay.textContent = "–"; updateChart(0); // Reset chart return; } var calculatedLbs = 0; var calculatedKg = 0; var calculatedStones = 0; if (baseUnit === "kg") { calculatedLbs = baseValue * KG_TO_LBS; calculatedStones = calculatedLbs / STONES_TO_LBS; calculatedKg = baseValue; mainResultDisplay.textContent = baseValue.toFixed(2) + " kg"; resultLbsDisplay.textContent = calculatedLbs.toFixed(2); resultStonesDisplay.textContent = calculatedStones.toFixed(2); lbsInput.value = calculatedLbs.toFixed(2); stonesInput.value = calculatedStones.toFixed(2); } else if (baseUnit === "lbs") { calculatedKg = baseValue * LBS_TO_KG; calculatedStones = baseValue / STONES_TO_LBS; calculatedLbs = baseValue; mainResultDisplay.textContent = baseValue.toFixed(2) + " lbs"; resultKgDisplay.textContent = calculatedKg.toFixed(2); resultStonesDisplay.textContent = calculatedStones.toFixed(2); kgInput.value = calculatedKg.toFixed(2); stonesInput.value = calculatedStones.toFixed(2); } else if (baseUnit === "stones") { calculatedLbs = baseValue * STONES_TO_LBS; calculatedKg = calculatedLbs * LBS_TO_KG; calculatedStones = baseValue; mainResultDisplay.textContent = baseValue.toFixed(2) + " st"; resultLbsDisplay.textContent = calculatedLbs.toFixed(2); resultKgDisplay.textContent = calculatedKg.toFixed(2); kgInput.value = calculatedKg.toFixed(2); lbsInput.value = calculatedLbs.toFixed(2); } updateChart(calculatedKg); } function resetCalculator() { kgInput.value = "70"; lbsInput.value = ""; stonesInput.value = ""; clearErrors(); calculateWeight(); // Trigger calculation with default value } function copyResults() { var mainResultText = mainResultDisplay.textContent; var lbsResult = resultLbsDisplay.textContent; var kgResult = resultKgDisplay.textContent; var stonesResult = resultStonesDisplay.textContent; if (mainResultText === "–") return; var assumptions = "Key Assumptions:\n- Unit conversion factors: 1 kg = 2.20462 lbs, 1 st = 14 lbs."; var textToCopy = "Weight Calculator Results:\n\n"; textToCopy += "Primary Result: " + mainResultText + "\n"; textToCopy += "In Pounds (lbs): " + lbsResult + "\n"; textToCopy += "In Kilograms (kg): " + kgResult + "\n"; textToCopy += "In Stones (st): " + stonesResult + "\n\n"; textToCopy += assumptions; navigator.clipboard.writeText(textToCopy).then(function() { // Optional: Show a brief confirmation message var copyButton = document.querySelector('button.success'); var originalText = copyButton.textContent; copyButton.textContent = 'Copied!'; setTimeout(function() { copyButton.textContent = originalText; }, 2000); }).catch(function(err) { console.error('Failed to copy text: ', err); // Optional: Show an error message }); } // Initialize chart on load window.onload = function() { resetCalculator(); // Set initial default values and calculate var canvas = document.getElementById('weightChart'); chartContext = canvas.getContext('2d'); // Chart is initialized within updateChart first time it's called }; // Add event listeners for real-time updates kgInput.addEventListener('input', function() { if (this.value !== "") { lbsInput.value = ""; stonesInput.value = ""; } calculateWeight(); }); lbsInput.addEventListener('input', function() { if (this.value !== "") { kgInput.value = ""; stonesInput.value = ""; } calculateWeight(); }); stonesInput.addEventListener('input', function() { if (this.value !== "") { kgInput.value = ""; lbsInput.value = ""; } calculateWeight(); }); // Load Chart.js library dynamically (or ensure it's included in your HTML) // For this example, we assume Chart.js is available globally. // If not, you'd need to include it via a tag. // Example: // Make sure this script tag is added before the closing or before the main script.

Leave a Comment