Code to create a website about famous scientists

 



<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

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

<title>Famous Scientists ๐Ÿ”ฌ</title>

<style>

body{margin:0;font-family:Poppins,Arial,sans-serif;background:linear-gradient(135deg,#e3f2fd,#bbdefb);color:#0d47a1;line-height:1.6;}

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

header h1{font-size:3rem;}

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

nav{text-align:center;background:#0d47a1;padding:15px;}

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

nav a:hover{color:white;}

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

section h2{color:#0d47a1;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:#e3f2fd;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:#bbdefb;}

.card h3{color:#0d47a1;}

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

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

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

</style>

</head>

<body>


<header>

<h1>๐Ÿ”ฌ Famous Scientists</h1>

<p>Discovering Minds that Changed the World ๐ŸŒŸ</p>

</header>


<nav>

<a href="#intro">๐Ÿ“œ Introduction</a>

<a href="#list">๐Ÿ‘ฉ‍๐Ÿ”ฌ Scientists</a>

<a href="#achievements">๐Ÿ† Achievements</a>

</nav>


<section id="intro">

<h2>๐Ÿ“œ What is Science?</h2>

<p>Science is the systematic study of the natural world through observation and experimentation. Scientists push the boundaries of knowledge to understand life, matter, energy, and the universe. ๐Ÿ”ฌ</p>

</section>


<section id="list">

<h2>๐Ÿ‘ฉ‍๐Ÿ”ฌ Famous Scientists</h2>

<div class="cards">

<div class="card"><h3>๐Ÿงช Albert Einstein</h3><p>Developed the theory of relativity, changing our understanding of space and time.</p></div>

<div class="card"><h3>๐Ÿงฌ Marie Curie</h3><p>First woman to win a Nobel Prize; pioneer in radioactivity research.</p></div>

<div class="card"><h3>๐Ÿ”ญ Galileo Galilei</h3><p>Father of modern astronomy; improved telescopes and discovered moons of Jupiter.</p></div>

<div class="card"><h3>๐ŸŒก️ Isaac Newton</h3><p>Formulated the laws of motion and universal gravitation.</p></div>

</div>

</section>


<section id="achievements">

<h2>๐Ÿ† Scientific Achievements</h2>

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

<li>๐Ÿงฌ Discoveries in physics, chemistry, biology, and astronomy.</li>

<li>๐Ÿ”ฌ Development of scientific methods and experimentation.</li>

<li>๐ŸŒ Advancements in medicine, technology, and space exploration.</li>

<li>๐Ÿ’ก Inventions that transformed daily life and industry.</li>

</ul>

</section>


<footer>

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

</footer>


</body>

</html>






Comments