Last active
January 30, 2026 20:09
-
Star
(76)
You must be signed in to star a gist -
Fork
(119)
You must be signed in to fork a gist
-
-
Save isdaviddong/23cc140c1780828b44f79397f737b95e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta charset="utf-8" /> | |
| <script src="Scripts/jquery-1.9.1.min.js"></script> | |
| <link href="Content/bootstrap.min.css" rel="stylesheet" /> | |
| <script src="Scripts/isRockFx.js"></script> | |
| <script> | |
| $(function () { | |
| $('#ButtonCal').click( | |
| function () { | |
| //取得用戶輸入的參數 | |
| var para = { 'height': $('#txbHeight').val(), 'weight': $('#txbWeight').val() }; | |
| //呼叫API | |
| ExecuteAPI('Example', 'BMI', para, | |
| //呼叫WebAPI成功時運行的Call Back Function | |
| function (result) { | |
| alert(result.Data); | |
| } | |
| ); | |
| } | |
| ); | |
| }); | |
| </script> | |
| </head> | |
| <body> | |
| <div class="row" style="margin:10px"> | |
| <div class="col-md-12"> | |
| <div class="form-group"> | |
| 身高: | |
| <input id="txbHeight" class="form-control" placeholder="請輸入身高" /> | |
| 體重: | |
| <input id="txbWeight" class="form-control" placeholder="請輸入體重" /> | |
| <br /> | |
| <button class="btn btn-primary" id="ButtonCal">計算</button> | |
| </div> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
``// Placeholder for payment integration (e.g., Stripe)
document.getElementById('checkout-form').addEventListener('submit', (e) => {
e.preventDefault();
// Integrate with Stripe/PayPal here
alert('Payment processed! E-book sent to your email.');
// Redirect or show success message
});
<title>Meri Pehli Website</title>
Assalamu Alaikum
Yeh meri pehli website hai.
Click Me
<title>Meri Pehli Website</title>
Assalamu Alaikum
Yeh meri pehli website hai.
Click Me
<title>Meri Pehli Website</title>
Assalamu Alaikum
Yeh meri pehli website hai.
Click Me
<title>Islamic Books</title>
<style>
body {
font-family: Arial;
background-color: #f2f2f2;
text-align: center;
}
.book {
background: white;
margin: 15px;
padding: 15px;
border-radius: 8px;
}
h1 {
color: green;
}
</style>
📖 Islamic Books Library
Quran, Hadith aur Islamic Kitaben
Quran Sharif
Allah ka paigham
Hadith
Rasool ﷺ ki baatein
Nahjul Balagha
Imam Ali (A.S) ke khutbe
Im
Vào 17:45 T.7, 24 Th1, 2026 mohammadhaiderzaya-art ***@***.***>
đã viết:
… ***@***.**** commented on this gist.
------------------------------
<title>Islamic Books</title> <style> body { font-family: Arial;
background-color: #f2f2f2; text-align: center; } .book { background: white;
margin: 15px; padding: 15px; border-radius: 8px; } h1 { color: green; }
</style>📖 Islamic Books Library
Quran, Hadith aur Islamic Kitaben
Quran Sharif
Allah ka paigham
Hadith
Rasool ﷺ ki baatein
Nahjul Balagha
Imam Ali (A.S) ke khutbe
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/isdaviddong/23cc140c1780828b44f79397f737b95e#gistcomment-5953779>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B22NALLO3JWJ4S7G6XIUAUD4INEONBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLKJSGU3DOOBSGIZDFJDOMFWWLKDBMN2G64S7NFSIFJLWMFWHKZNEORZHKZNENZQW2ZN3ORUHEZLBMRPXAYLSORUWG2LQMFXHIX3BMN2GS5TJOR4YFJLWMFWHKZNEM5UXG5FENZQW2ZNLORUHEZLBMRPXI6LQMWWHG5LCNJSWG5C7OR4XAZNLI5UXG5CDN5WW2ZLOOSTHI33QNFRXHEMCUR2HS4DFURTWS43UUV3GC3DVMWUDIMZRGY2DCOJVU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
<title>Quiz Médico: Trabajo de Parto y Aborto</title>
<style>
body {
font-family: Arial, sans-serif;
background: #f2f6f8;
padding: 20px;
}
.quiz-container {
background: white;
max-width: 600px;
margin: auto;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
text-align: center;
}
.question {
margin-bottom: 15px;
}
button {
margin-top: 10px;
padding: 10px;
width: 100%;
background: #2a7fff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background: #1f5fcc;
}
</style>
<script>
const quiz = [
{
q: "¿Qué es el trabajo de parto?",
a: ["Proceso de dilatación y expulsión del feto", "Control prenatal", "Cirugía obstétrica"],
c: 0
},
{
q: "¿Cuál es un signo de inicio del trabajo de parto?",
a: ["Contracciones regulares", "Náuseas", "Fiebre"],
c: 0
},
{
q: "¿Cuántas fases tiene el trabajo de parto?",
a: ["Dos", "Tres", "Cuatro"],
c: 1
},
{
q: "¿Qué ocurre en la fase de dilatación?",
a: ["Expulsión del feto", "Apertura del cuello uterino", "Alumbramiento"],
c: 1
},
{
q: "¿Qué es el alumbramiento?",
a: ["Salida del feto", "Salida de la placenta", "Inicio de contracciones"],
c: 1
},
{
q: "¿Qué es el aborto?",
a: ["Interrupción del embarazo antes de la viabilidad fetal", "Parto prematuro", "Cesárea"],
c: 0
},
{
q: "¿Cuál es una causa frecuente de aborto espontáneo?",
a: ["Alteraciones cromosómicas", "Ejercicio moderado", "Vacunación"],
c: 0
},
{
q: "¿Qué tipo de aborto ocurre por causas naturales?",
a: ["Inducido", "Espontáneo", "Séptico"],
c: 1
},
{
q: "¿Qué profesional debe atender un aborto complicado?",
a: ["Médico", "Enfermero sin supervisión", "Personal administrativo"],
c: 0
},
{
q: "¿Qué es fundamental en la atención médica del aborto?",
a: ["Juicio moral", "Confidencialidad y atención segura", "Negación del servicio"],
c: 1
}
];
let current = 0;
let score = 0;
function loadQuestion() {
document.getElementById("question").innerText = quiz[current].q;
const answersDiv = document.getElementById("answers");
answersDiv.innerHTML = "";
quiz[current].a.forEach((answer, index) => {
answersDiv.innerHTML += `
Quiz Médico
Siguiente
${answer}
`;
});
}
function nextQuestion() {
const selected = document.querySelector('input[name="answer"]:checked');
if (!selected) return alert("Selecciona una respuesta");
if (parseInt(selected.value) === quiz[current].c) score++;
current++;
if (current < quiz.length) {
loadQuestion();
} else {
document.querySelector(".quiz-container").innerHTML =
`Resultado final
Tu puntaje: ${score} / ${quiz.length}
¡Gracias por participar!
`; } } loadQuestion(); </script>
<title>StrideElite - Premium Shoes for Style and Comfort</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "StrideElite Runner",
"image": "https://example.com/shoe-image.jpg",
"description": "Comfortable running shoes with premium materials.",
"brand": "StrideElite",
"offers": {
"@type": "Offer",
"price": "99.99",
"priceCurrency": "USD"
}
}
</script>
<style>
/* Global Styles */
body { font-family: 'Open Sans', sans-serif; margin: 0; padding: 0; color: #000; background: #fff; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.accent { color: #C8102E; }
.btn { background: #C8102E; color: #fff; padding: 10px 20px; border: none; cursor: pointer; transition: background 0.3s; }
.btn:hover { background: #A00; }
/* Navigation */
nav { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #000; z-index: 100; }
nav ul { list-style: none; display: flex; justify-content: space-between; padding: 10px; margin: 0; }
nav a { text-decoration: none; color: #000; font-weight: bold; }
/* Hero */
.hero { background: url('https://via.placeholder.com/1200x600?text=Latest+Shoes+Collection') no-repeat center/cover; height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.hero h1 { font-size: 3em; margin: 0; }
.hero p { font-size: 1.2em; }
/* Sections */
section { padding: 50px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product { border: 1px solid #ddd; padding: 20px; text-align: center; transition: transform 0.3s; }
.product:hover { transform: scale(1.05); }
.product img { max-width: 100%; height: auto; }
/* Reviews */
.reviews { background: #f9f9f9; }
.review { margin: 20px 0; }
.stars { color: #FFD700; }
/* Footer */
footer { background: #000; color: #fff; text-align: center; padding: 20px; }
.trust-badges { display: flex; justify-content: center; gap: 20px; margin: 20px 0; }
.trust-badges div { display: flex; align-items: center; }
/* Mobile Responsiveness */
@media (max-width: 768px) { .hero h1 { font-size: 2em; } nav ul { flex-direction: column; } .grid { grid-template-columns: 1fr; } }
/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
</style>
<!-- Home Page -->
<section id="home" class="hero">
<div>
<h1>StrideElite: Style Meets Comfort</h1>
<p>Discover our latest collection of premium shoes – stylish, comfortable, and affordable for every step.</p>
<button class="btn" onclick="scrollToSection('shop')">Shop Now</button>
</div>
</section>
<!-- Shop Page -->
<section id="shop" class="container">
<h2>Shop by Category</h2>
<div class="grid">
<div class="product fade-in">
<img src="https://via.placeholder.com/300x200?text=Men+Shoes" alt="Men's Shoes Collection" loading="lazy">
<h3>Men Shoes</h3>
<p>Stylish and durable for everyday wear.</p>
<button class="btn">Explore</button>
</div>
<div class="product fade-in">
<img src="https://via.placeholder.com/300x200?text=Women+Shoes" alt="Women's Shoes Collection" loading="lazy">
<h3>Women Shoes</h3>
<p>Elegant designs for comfort and fashion.</p>
<button class="btn">Explore</button>
</div>
<div class="product fade-in">
<img src="https://via.placeholder.com/300x200?text=Sports+Shoes" alt="Sports Shoes Collection" loading="lazy">
<h3>Sports Shoes</h3>
<p>Performance footwear for athletes.</p>
<button class="btn">Explore</button>
</div>
<div class="product fade-in">
<img src="https://via.placeholder.com/300x200?text=Casual+Shoes" alt="Casual Shoes Collection" loading="lazy">
<h3>Casual Shoes</h3>
<p>Relaxed styles for leisure and comfort.</p>
<button class="btn">Explore</button>
</div>
</div>
<!-- Customer Reviews -->
<div class="reviews">
<h3>What Our Customers Say</h3>
<div class="review">
<div class="stars">★★★★★</div>
<p>"These shoes are incredibly comfortable and stylish. Worth every penny!" - Alex R.</p>
</div>
<div class="review">
<div class="stars">★★★★★</div>
<p>"Fast delivery and easy returns. Highly recommend!" - Jamie L.</p>
</div>
</div>
</section>
<!-- Product Detail Page (Example for One Product) -->
<section id="product-detail" class="container" style="display: none;"> <!-- Toggle visibility with JS -->
<div class="grid">
<div>
<img src="https://via.placeholder.com/500x500?text=Product+Image" alt="StrideElite Runner Shoe" loading="lazy">
</div>
<div>
<h2>StrideElite Runner</h2>
<p class="accent">$99.99</p>
<p>High-quality running shoes with breathable materials for ultimate comfort.</p>
<label for="size">Size:</label>
<select id="size">
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
<button class="btn">Add to Cart</button>
<div class="reviews">
<h3>Reviews</h3>
<div class="review">
<div class="stars">★★★★★</div>
<p>"Perfect fit and great for long runs!" - Sam T.</p>
</div>
</div>
</div>
</div>
</section>
<!-- About Us Page -->
<section id="about" class="container">
<h2>About StrideElite</h2>
<p>Founded in 2020, StrideElite is dedicated to crafting premium shoes that blend style, comfort, and affordability. Our brand story is rooted in innovation – using sustainable materials and expert craftsmanship to ensure every pair delivers on our quality promise: shoes that last, feel great, and look even better.</p>
</section>
<!-- Contact Us Page -->
<section id="contact" class="container">
<h2>Contact Us</h2>
<form>
<input type="text" placeholder="Name" required><br>
<input type="email" placeholder="Email" required><br>
<textarea placeholder="Message" required></textarea><br>
<button class="btn" type="submit">Send</button>
</form>
<a href="https://wa.me/1234567890" class="btn" style="margin-top: 20px;">Chat on WhatsApp</a>
</section>
<!-- Footer with Trust Badges -->
<footer>
<div class="trust-badges">
<div><span>🔒</span> Secure Payment</div>
<div><span>🚚</span> Fast Delivery</div>
<div><span>↩️</span> Easy Returns</div>
</div>
<p>© 2023 StrideElite. All rights reserved.</p>
</footer>
<script>
// Smooth scrolling and animations
function scrollToSection(id) {
document.getElementById(id).scrollIntoView({ behavior: 'smooth' });
}
// Fade-in on scroll
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
}
});
});
document.querySelectorAll('.fade-in').forEach(el => observer.observe(el));
// Toggle product detail (for demo)
document.querySelectorAll('.product .btn').forEach(btn => {
btn.addEventListener('click', () => {
document.getElementById('product-detail').style.display = 'block';
scrollToSection('product-detail');
});
});
</script>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// Countdown timer for urgency
function startCountdown() {
const countdownElement = document.getElementById('countdown');
let time = 24 * 60 * 60; // 24 hours in seconds
setInterval(() => {
const hours = Math.floor(time / 3600);
const minutes = Math.floor((time % 3600) / 60);
const seconds = time % 60;
countdownElement.textContent =
${hours}:${minutes}:${seconds};time--;
if (time < 0) time = 24 * 60 * 60; // Reset
}, 1000);
}
document.addEventListener('DOMContentLoaded', startCountdown);
// Add fade-in to sections on scroll
const sections = document.querySelectorAll('.section');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('fade-in');
}
});
});
sections.forEach(section => observer.observe(section));