Convert kg to lbs Tool Website Source Code Download

Kilograms से Pound में वजन कैसे बदलें? इस ब्लॉग में हम आपको kg और lbs के बीच अंतर, उनका उपयोग, और आसान गणना का तरीका बताएंगे। Convert kg to lbs tool में बदलने के लिए सरल फॉर्मूला और उदाहरण शामिल हैं। आप Online Kilogram से Pound  Calculator का उपयोग करके भी तुरंत परिणाम प्राप्त कर सकते हैं।

 

 

convert kg to lbs

Kilogram To Pound Convert कैसे करें:

किलोग्राम (kg) और पाउंड (lb) वजन मापने की दो अलग-अलग इकाइयाँ हैं। Kilogram का उपयोग ज्यादातर मेट्रिक प्रणाली में होता है, जबकि Pound इंपीरियल प्रणाली का हिस्सा है, जो मुख्यतः अमेरिका और ब्रिटेन में प्रचलित है।

किलोग्राम से पाउंड में बदलने का फॉर्मूला:

1 kg= 2.20462 lbs (pound)

आसान गणना का तरीका:

यदि आपको 10 kilogram को Pound में बदलना है:
10 × 2.20462 = 22.0462 पाउंड

KG to LBS Tool Source Code Download

 

किलोग्राम को पाउंड में बदलने के लिए मैने आपके लिए एक अच्छा सा Tool के साथ -2 Source Code Download करने की भी सुविधा दी सिर्फ से Copy करके अपने Hosting में जाकर एक Domain के साथ Connect करले। इससे पहले में मैने Free Printable Calendar Tool बनाया था । इसे जाकर चेंक बहुत अच्छा Tool है।

……………….

<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Weight Converter</title>
<link rel=”stylesheet” href=”styles.css”>
<style>

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 2rem 0;
}

.container {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 2rem;
width: 90%;
max-width: 600px;
}

h1, h2 {
text-align: center;
margin-bottom: 1.5rem;
color: #333;
}

h2 {
margin-top: 2rem;
}

.converter {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}

.input-group, .output-group {
flex: 1;
}

.output-group {
display: flex;
flex-direction: column;
gap: 1rem;
}

input {
width: 100%;
padding: 0.5rem;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
}

label {
display: block;
margin-top: 0.5rem;
font-size: 0.9rem;
color: #666;
}

.arrows {
display: flex;
flex-direction: column;
justify-content: center;
gap: 1rem;
}

.arrow {
font-size: 1.5rem;
color: #666;
}

.result {
text-align: center;
font-weight: bold;
color: #333;
margin-bottom: 2rem;
}

.examples ul, .blog-posts ul {
list-style-type: none;
padding-left: 1rem;
}

.examples li, .blog-posts li {
margin-bottom: 0.5rem;
}

.explanation p, .explanation ul {
margin-bottom: 1rem;
}

.formula {
font-weight: bold;
text-align: center;
font-size: 1.2rem;
margin: 0.5rem 0;
}

.blog-posts a {
color: #0066cc;
text-decoration: none;
}

.blog-posts a:hover {
text-decoration: underline;
}

@media (max-width: 480px) {
.converter {
flex-direction: column;
}

.arrows {
flex-direction: row;
margin: 1rem 0;
}

.arrow:first-child {
transform: rotate(-45deg);
}

.arrow:last-child {
transform: rotate(45deg);
}
}
</style>
</head>
<body>
<div class=”container”>
<h1>Weight Converter</h1>
<div class=”converter”>
<div class=”input-group”>
<input type=”number” id=”kg-input” placeholder=”Enter kilograms” aria-label=”Enter weight in kilograms”>
<label for=”kg-input”>Kilograms</label>
</div>
<div class=”arrows”>
<div class=”arrow”>➜</div>
<div class=”arrow”>➜</div>
</div>
<div class=”output-group”>
<div class=”input-group”>
<input type=”number” id=”lb-output” readonly aria-label=”Weight in pounds”>
<label for=”lb-output”>Pounds</label>
</div>
<div class=”input-group”>
<input type=”number” id=”g-output” readonly aria-label=”Weight in grams”>
<label for=”g-output”>Grams</label>
</div>
</div>
</div>
<p class=”result” id=”result-text” aria-live=”polite”>Enter a value to see the conversion</p>

<section class=”examples”>
<h2>More Examples</h2>
<ul id=”example-list” aria-label=”List of weight conversion examples”>
<!– Examples will be dynamically added here –>
</ul>
</section>

<section class=”explanation”>
<h2>How It Works</h2>
<p>The conversions are based on the following formulas:</p>
<ul>
<li><p class=”formula”>1 kg = 2.20462 lbs</p></li>
<li><p class=”formula”>1 kg = 1000 g</p></li>
</ul>
<p>To convert kilograms to pounds, multiply the kilogram value by 2.20462.</p>
<p>To convert kilograms to grams, multiply the kilogram value by 1000.</p>
</section>

<section class=”blog-posts”>
<h2>Related Blog Posts</h2>
<ul>
<li><a href=”#”>The History of Weight Measurements</a></li>
<li><a href=”#”>Why the US Still Uses Pounds</a></li>
<li><a href=”#”>Metric vs Imperial: A Comparison</a></li>
<li><a href=”#”>Weight Conversion Tips for Travelers</a></li>
</ul>
</section>
</div>
<script>
const kgInput = document.getElementById(‘kg-input’);
const lbOutput = document.getElementById(‘lb-output’);
const gOutput = document.getElementById(‘g-output’);
const resultText = document.getElementById(‘result-text’);
const exampleList = document.getElementById(‘example-list’);

function convertKgToLb(kg) {
return kg * 2.20462;
}

function convertKgToG(kg) {
return kg * 1000;
}

function updateConversion() {
const kgValue = parseFloat(kgInput.value);
if (!isNaN(kgValue)) {
const lbValue = convertKgToLb(kgValue);
const gValue = convertKgToG(kgValue);
lbOutput.value = lbValue.toFixed(2);
gOutput.value = gValue.toFixed(2);
resultText.textContent = `${kgValue} kilograms is equal to ${lbValue.toFixed(2)} pounds and ${gValue.toFixed(2)} grams.`;
} else {
lbOutput.value = ”;
gOutput.value = ”;
resultText.textContent = ‘Enter a valid number of kilograms.’;
}
}

function addExamples() {
const examples = [
{ kg: 1, lb: 2.20, g: 1000 },
{ kg: 5, lb: 11.02, g: 5000 },
{ kg: 10, lb: 22.05, g: 10000 },
{ kg: 20, lb: 44.09, g: 20000 },
{ kg: 50, lb: 110.23, g: 50000 },
{ kg: 100, lb: 220.46, g: 100000 }
];

examples.forEach(example => {
const li = document.createElement(‘li’);
li.textContent = `${example.kg} kg = ${example.lb} lbs = ${example.g} g`;
exampleList.appendChild(li);
});
}

kgInput.addEventListener(‘input’, updateConversion);

// Initial call to set up the converter and add examples
updateConversion();
addExamples();
</script>
</body>
</html>

कीवर्ड्स (Keywords):

  • किलोग्राम से पाउंड
  • वजन परिवर्तन
  • 1 किलोग्राम में कितने पाउंड
  • किलो से पाउंड बदलें
  • वजन मापन
  • किलोग्राम से पाउंड कैलकुलेटर

टैग्स (Tags):

  • #किलोग्राम_से_पाउंड
  • #वजन_बदलाव
  • #वजन_मापन
  • #भार_परिवर्तन
  • #KilogramToPound
  • #WeightConversion
  • #MetricToImperial

1 thought on “Convert kg to lbs Tool Website Source Code Download”

Leave a Comment