Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# dev
My first repository
Codepen website files from the 'dist' folder now added
45 changes: 45 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<title>Ayo Website</title>
<link rel="stylesheet" href="./style.css">

</head>

<body>
<h1>Robots, And Us!</h1>
<p>Robots today are transforming everything from our homes to hospitals, farms to factories. Here are a few short stories that bring their modern roles to life. Believe it or not, they are here to stay!</p>

<p>Robots have been found to be useful in the follwing areas: </p>

<ul id="myUL">
<li>Hospital</li>
<li class="checked">Home</li>
<li>Farm</li>
<li>Factory</li>
</ul>

<h2>In the hospital </h2>
<p>At St. Anne’s Hospital in London, a robot named “Florence” glides silently through the corridors after midnight. She’s not a nurse in the traditional sense but she delivers medications, monitors patient vitals, and even alerts staff if someone’s oxygen levels drop. </p>
<img src = "https://www.bing.com/th/id/OIP.8hYWonYl4BugkfmzEDsLXwHaE8?w=244&h=211&c=8&rs=1&qlt=90&o=6&dpr=1.5&pid=3.1&rm=2" alt="Florence - The Robot">




<h2>At home </h2>
<p>In a bustling London flat, a robotic vacuum named “Dusty” hums to life every morning at 7:00 AM. While its owner sips coffee and checks emails, Dusty maps the apartment, dodges furniture, and sweeps up yesterday’s crumbs. </p>
<img src = "https://th.bing.com/th/id/OIP.mwzixqUeXxrRccQ7DcTb7AHaDt?w=337&h=174&c=7&r=0&o=7&cb=ucfimg2&dpr=1.5&pid=1.7&rm=3&ucfimg=1" alt="Dusty - The Robot">

<h2>On the farm </h2>
<p>On a farm in Cambridgeshire, a robot tractor plows fields with GPS precision. It doesn’t need lunch breaks or sleep. It plants seeds, sprays crops, and even detects weeds using AI-powered cameras.</p>
<img src = "https://th.bing.com/th/id/OIP.kP405_OC9ZRXY-_OfHDTjQHaE7?w=217&h=180&c=7&r=0&o=7&cb=ucfimg2&dpr=1.5&pid=1.7&rm=3&ucfimg=1" alt="Robot On The Farm">

<h2>In the factory </h2>
<p>In a Midlands manufacturing plant, robotic arms work in perfect synchrony—welding, assembling, and inspecting car parts with microscopic precision. These robots don’t just follow instructions; they learn from mistakes, adapt to new tasks, and alert engineers before a fault becomes a failure.</p>
<img src = "https://th.bing.com/th/id/OIP.PlbgzMK2nxvoqpmxTfgpDQHaE8?w=276&h=184&c=7&r=0&o=7&cb=ucfimg2&dpr=1.5&pid=1.7&rm=3&ucfimg=1" alt="Robots in the factory">

</body>

</html>
20 changes: 20 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
img {
display: block;
margin-left: auto;
margin-right: auto;
width: 30%;
}


body {
font-size: 18px;
font-family: Arial, sans-serif;
}

/* Example: Different font size for headings */
h1 { font-size: 40px; color: blue; }
h2 { font-size: 30px; color: blue; }
ul { font-size: 30px; }

/* Example: Different font size for paragraphs */
p {font-size: 30px;}