Creating a modern business website involves a combination of HTML for structure, CSS for styling, and JavaScript for interactivity. Below is a basic example of how you could structure a simple website for a software development company like Mcube Infotech. Of course, for a real-world application, you would expand on this with more detailed content, responsive design techniques, and potentially utilize frameworks or libraries for additional functionality.
HTML (index.html)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mcube Infotech</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<div class="logo">Mcube Infotech</div>
<ul class="nav-links">
<li><a href="#home">Home</a></li>
<li><a href="#about">About Us</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</header>
<section id="home" class="hero">
<div class="hero-content">
<h1>Welcome to Mcube Infotech</h1>
<p>Innovative Software Solutions for a Digital World</p>
</div>
</section>
<section id="about">
<h2>About Us</h2>
<p>Mcube Infotech is a leading software development company based in India. We specialize in delivering cutting-edge solutions to businesses worldwide.</p>
</section>
<section id="services">
<h2>Our Services</h2>
<div class="service-container">
<div class="service">
<h3>Web Development</h3>
<p>Creating responsive and modern websites tailored to your needs.</p>
</div>
<div class="service">
<h3>Mobile Apps</h3>
<p>Building cross-platform mobile applications to enhance your business outreach.</p>
</div>
<div class="service">
<h3>Custom Software</h3>
<p>Developing custom software solutions that align with your business objectives.</p>
</div>
</div>
</section>
<section id="contact">
<h2>Contact Us</h2>
<form>
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Your Email" required>
<textarea name="message" placeholder="Your Message" required></textarea>
<button type="submit">Send</button>
</form>
</section>
<footer>
<p>© 2023 Mcube Infotech. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
CSS (styles.css)
body, html {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
}
header {
background: #333;
color: #fff;
padding: 10px 20px;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin: 0 10px;
}
.nav-links a {
color: #fff;
text-decoration: none;
}
.hero {
height: 100vh;
background: url('hero-bg.jpg') no-repeat center center/cover;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
text-align: center;
}
.hero-content {
max-width: 600px;
}
section {
padding: 60px 20px;
text-align: center;
}
.service-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.service {
margin: 20px;
padding: 20px;
border: 1px solid #ddd;
box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
width: 250px;
}
form {
max-width: 500px;
margin: 0 auto;
display: flex;
flex-direction: column;
}
input, textarea {
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
padding: 10px;
background-color: #333;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}
footer {
background: #333;
color: #fff;
padding: 20px;
text-align: center;
}
JavaScript (script.js)
// This is a placeholder for any future JavaScript code that might be needed for interactivity.
// For now, it is empty as there is no dynamic content on the page.
Considerations:
- Responsive Design: The CSS here doesn't include media queries for responsive design, so you may want to add those.
- Modern Tools: For a production website, you might consider using CSS preprocessors like Sass or frameworks like Bootstrap, and JavaScript frameworks like React or Vue.js, depending on the complexity of your website.
- SEO and Accessibility: Ensure your website is optimized for search engines and accessible to all users.
- Performance Optimization: Consider optimizing images and resources to ensure fast load times.