Code to create a website about Quantum Physics

 




<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Quantum Physics ⚛️</title>

<style>

body{margin:0;font-family:Poppins,Arial,sans-serif;background:linear-gradient(135deg,#e8eaf6,#c5cae9);color:#1a237e;line-height:1.6;}

header{background:#303f9f;color:white;text-align:center;padding:70px 20px;}

header h1{font-size:3rem;}

header p{font-size:1.2rem;color:#c5cae9;}

nav{text-align:center;background:#1a237e;padding:15px;}

nav a{color:#c5cae9;margin:0 20px;text-decoration:none;font-weight:600;}

nav a:hover{color:white;}

section{padding:60px 20px;text-align:center;}

section h2{color:#1a237e;font-size:2.3rem;margin-bottom:15px;}

section p{max-width:900px;margin:0 auto 25px;font-size:1.1rem;}

.cards{display:flex;flex-wrap:wrap;justify-content:center;gap:25px;margin-top:40px;}

.card{background:#c5cae9;padding:25px;width:280px;border-radius:12px;box-shadow:0 5px 20px rgba(0,0,0,.2);transition:transform 0.3s;}

.card:hover{transform:translateY(-8px);background:#9fa8da;}

.card h3{color:#1a237e;}

footer{background:#1a237e;color:white;text-align:center;padding:30px;font-size:22px;}

footer a{color:#c5cae9;text-decoration:none;font-weight:bold;}

footer a:hover{text-decoration:underline;}

</style>

</head>

<body>


<header>

<h1>⚛️ Quantum Physics</h1>

<p>Exploring the Mysteries of the Subatomic World 🔬</p>

</header>


<nav>

<a href="#intro">🔹 Introduction</a>

<a href="#principles">📌 Principles</a>

<a href="#applications">💡 Applications</a>

<a href="#research">🔭 Research</a>

</nav>


<section id="intro">

<h2>🔹 Introduction</h2>

<p>Quantum physics studies the behavior of matter and energy at the smallest scales. It explains phenomena like particle-wave duality, quantum entanglement, and the uncertainty principle. 🌀</p>

</section>


<section id="principles">

<h2>📌 Core Principles</h2>

<div class="cards">

<div class="card"><h3>🌀 Superposition</h3><p>Particles can exist in multiple states simultaneously until measured.</p></div>

<div class="card"><h3>🔗 Entanglement</h3><p>Particles can be connected over distances, affecting each other's state instantly.</p></div>

<div class="card"><h3>❓ Uncertainty Principle</h3><p>It is impossible to know both position and momentum of a particle precisely.</p></div>

<div class="card"><h3>⚛️ Quantum Tunneling</h3><p>Particles can pass through barriers they normally shouldn’t be able to.</p></div>

</div>

</section>


<section id="applications">

<h2>💡 Applications</h2>

<ul style="text-align:left;display:inline-block;font-size:1.1rem;">

<li>💻 Quantum computing for faster problem-solving.</li>

<li>🔬 Advanced medical imaging and spectroscopy.</li>

<li>📡 Secure quantum communication systems.</li>

<li>⚡ Semiconductor and nanotechnology innovations.</li>

</ul>

</section>


<section id="research">

<h2>🔭 Research & Discoveries</h2>

<p>Scientists continue exploring quantum mechanics for energy, computing, and teleportation possibilities. It challenges classical physics and expands our understanding of reality. 🌌</p>

</section>


<footer>

© 2025 <a href="https://freecodesforwebsites.blogspot.com/" target="_blank">Free Codes for Websites</a> | All rights reserved.

</footer>


</body>

</html>


Comments