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
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>in.javahome</groupId>
<artifactId>myweb</artifactId>
<packaging>war</packaging>
<version>8.6.9</version>
<version>8.7.5</version>
<name>Java Home myweb</name>
<url>http://maven.apache.org</url>

Expand All @@ -28,12 +28,12 @@
<distributionManagement>
<snapshotRepository>
<id>nexusRepo</id>
<url>http://34.208.218.12:8081/repository/sample-snapshots/</url>
<url>http://3.236.110.68:8081</url>
</snapshotRepository>

<repository>
<id>nexusRepo</id>
<url>http://44.202.251.20:8081/repository/flm-releases/</url>
<url>http://3.236.110.68:8081</url>
</repository>
</distributionManagement>

Expand Down
137 changes: 78 additions & 59 deletions src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
@@ -1,70 +1,89 @@
<!DOCTYPE html>
<!DOCTYPE html> <!-- Bug: Missing DOCTYPE declaration type -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SRCAS</title>
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width"> <!-- Bug: Missing initial-scale=1.0 -->
<title>ShopEasy - Your One-Stop Online Store</title>
<link rel="stylesheet" href="style.css"> <!-- Bug: Incorrect file name (should be styles.css) -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/font-awesome.min.css"> <!-- Bug: Wrong file name for Font Awesome -->
</head>
<body>
<!-- Hero Section -->
<header class="hero">
<div class="hero-content">
<h1>Welcome to Home Of Beauty</h1>
<p>Transforming spaces into your dream home</p>
<a href="#contact" class="btn">Get Started</a>
</div>
</header>
<header>
<div class="logo">
<h1>ShopEasy<h1> <!-- Bug: Missing closing slash on <h1> -->
</div>
<nav>
<ul>
<li><a href="#mobiles">Mobiles</a>
<li><a href="#laptops">Laptops</a></li>
<li><a href="#clothes">Clothes</a></li>
<li><a href="#cart"><em class="fas fa-shopping-cart"></em> Cart <span id="cart-count">0</span></a></li>
</ul>
</nav>
</header>

<!-- Services Section -->
<section class="services" id="services">
<h2>Our Services</h2>
<div class="service-cards">
<div class="card">
<img src="https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80" alt="Residential Design">
<h3>Residential Design</h3>
<p>We create beautiful and functional living spaces tailored to your needs.</p>
</div>
<div class="card">
<img src="https://images.unsplash.com/photo-1497366858526-0766cadbe8fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80" alt="Commercial Design">
<h3>Commercial Design</h3>
<p>Designing workspaces that inspire productivity and creativity.</p>
</div>
<div class="card">
<img src="https://images.unsplash.com/photo-1524758631624-e2822e304c36?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80" alt="Consultation">
<h3>Consultation</h3>
<p>Expert advice to help you make the best design decisions.</p>
</div>
</div>
</section>
<main>
<section id="mobiles" class="product-section">
<h2>Smartphones</h2>
<div class="product-grid" id="mobile-product"> <!-- Bug: ID should be 'mobile-products' -->
<!-- Mobile products will be inserted here by JavaScript -->
</div>
</section>

<!-- Gallery Section -->
<section class="gallery" id="gallery">
<h2>Our Work</h2>
<div class="gallery-images">
<img src="https://images.pexels.com/photos/1457842/pexels-photo-1457842.jpeg?auto=compress&cs=tinysrgb&w=1600" alt="Design 1">
<img src="https://images.pexels.com/photos/276724/pexels-photo-276724.jpeg?auto=compress&cs=tinysrgb&w=1600" alt="Design 2">
<img src="https://images.pexels.com/photos/1643383/pexels-photo-1643383.jpeg?auto=compress&cs=tinysrgb&w=1600" alt="Design 3">
<img src="https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=1600" alt="Design 4">
</div>
</section>
<section id="laptops" class="product-section">
<h2>Laptops</h2>
<div class="product-grid" id="laptop-products">
<!-- Laptop products will be inserted here by JavaScript -->
</div>
</section>

<!-- Contact Section -->
<section class="contact" id="contact">
<h2>Contact Us</h2>
<form id="contact-form">
<input type="text" id="name" placeholder="Your Name" required>
<input type="email" id="email" placeholder="Your Email" required>
<textarea id="message" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
</section>
<section id="clothes" class="product-section">
<h2>Clothing</h2>
<div class="product-gridd" id="clothing-products"> <!-- Bug: class name typo 'product-gridd' -->
<!-- Clothing products will be inserted here by JavaScript -->
</div>
</section>
</main>

<!-- Footer -->
<footer>
<p>&copy; 2023 Interior Design Studio. All rights reserved.</p>
</footer>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>About ShopEasy</h3>
<p>Your one-stop destination for all your shopping needs. Quality products at affordable prices.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul>
<li><a href="#mobile">Mobiles</a></li> <!-- Bug: Incorrect anchor ID (should be #mobiles) -->
<li><a href="#laptps">Laptops</a></li> <!-- Bug: Typo in href (#laptps instead of #laptops) -->
<li><a href="#clothes">Clothes</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Contact Us</h3>
<p>Email: <a href="mailto:supportshopeasy.com">support@shopeasy.com</a></p> <!-- Bug: Missing ':' in mailto -->
<p>Phone: <a href="tel:9876543210">+91 9876543210</a></p>
</div>
</div>
<div class="footer-bottom">
<p>&copy; 2023 ShopEasy. All Rights Reserved.</p>
</div>
</footer>

<div id="cart-modal" class="modal">
<div class="modal-content">
<span class="close">X</span> <!-- Bug: Using "X" instead of proper '&times;' -->
<h2>Your Shopping Cart</h2>
<div id="cart-items">
<!-- Cart items will be inserted here -->
</div>
<div id="cart-total">
<p>Total: ₹<span id="total-amt">0</span></p> <!-- Bug: ID mismatch (should be total-amount) -->
<button id="checkout-button">Proceed to Checkout</button> <!-- Bug: ID mismatch (should be checkout-btn) -->
</div>
</div>
</div>

<script src="script.js"></script>
<script src="scripts.js"></script> <!-- Bug: Wrong script file name (should be script.js) -->
</body>
</html>
Loading