+ 1
How to make zip file to a website
Basically I have a zip file with all the codes, then I want to make it as a website. How?
2 Answers
+ 1
Is the code for the HTML ect in the zip file?
If so:
Unzip the zip file and run the HTML file
If you mean you have some form of code and you want to display it on a website I believe you can do that with css
0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SURYA CATERING</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Segoe UI', Tahoma, sans-serif;
background: #fffdf9;
color: #333;
}
/* Navbar */
nav {
background: #ff6600;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 30px;
position: sticky;
top: 0;
z-index: 999;
}
nav .logo {
font-size: 1.5em;
font-weight: bold;
color: #fff;
}
nav a {
color: white;
margin: 0 10px;
text-decoration: none;
font-weight: bold;
}
nav a:hover {
text-decoration: underline;
}
/* Slider */
.slider {
position: relative;
width: 100%;
height: 70vh;
overflow: hidden;
}
.slides {
display: flex;
width: 300%;
animation: slide 15s infinite;
}
.slides img {
width: 100%;
height: 70vh;
object-fit: cover;
}
@keyframes slide {
0% { transform: translateX(0%); }
30% { transform: translateX(0%); }
35% { transform: translateX(-100%); }
65% { transform: translateX(-100%); }
70% { transform: translateX(-200%); }
95% { transform: translateX(-200%); }
100% { transform: translateX(0%); }
}
section {
padding: 50px 20px;
text-align: center;
}
.services {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}
.service-card {
background: #ffe8d6;
padding: 25px;
border-radius: 10px;
transition: 0.3s;
}
.service-card:hover {
background: #ffd1b3;
transform: scale(1.05);
}
iframe {
width: 100%;
height: 300px;
border: none;
border-radius: 10px;
}
footer {