Indistrial Training Format
Indistrial Training Format
WEB DEVELOPMENT
INDUSTRIAL TRAINING REPORT
of
Bachelor of Technology
in
Information Technology
ii
Abstract
Web Development
Web development refers to the creation, development, and maintenance of
websites and web applications that operate over the internet or intranet. It covers a
broad spectrum of tasks and technologies, primarily divided into two main areas:
front-end development and back-end development.
Front-end development, also called client-side development, deals with
everything that users visually interact with on a web page. It focuses on creating
the structure, layout, and design using core technologies like HTML (HyperText
Markup Language) for structuring content, CSS (Cascading Style Sheets) for
styling and layout, and JavaScript for interactive and dynamic elements. Front-
end developers ensure that websites are responsive, accessible, and provide a
seamless user experience across different browsers and devices. Front-end
frameworks and libraries like React, Vue.js, and Angular enhance functionality
and efficiency in modern web development, enabling developers to create
complex, dynamic user interfaces more easily.
Back-end development, or server-side development, refers to the behind-the-
scenes workings of a website, dealing with databases, servers, and applications
that process and store data. Back-end developers build and maintain the server,
application, and database that power the front-end. Popular programming
languages and frameworks used in back-end development include Node.js
(JavaScript runtime), Python with frameworks like Django or Flask, Ruby on
Rails, PHP, and Java. Databases, such as MySQL, PostgreSQL, and
MongoDB, are used for data storage, while server management might involve
technologies like Apache or Nginx. Additionally, RESTful APIs and GraphQL
are essential tools in back-end development for enabling communication between
the client and server, facilitating data transfer, and enabling scalable web
applications.
In recent years, full-stack development has gained popularity, where developers
possess the skill set to handle both front-end and back-end tasks, enabling them to
create complete web applications independently. Full-stack developers are highly
versatile and in demand due to their ability to manage the entire development
iii
process, from designing user interfaces to managing databases and ensuring
server reliability.
Additionally, web development embraces several other critical aspects, including
security, ensuring that the site is protected from cyber threats through practices
like encryption, authentication, and regular updates; performance optimization,
which involves minimizing load times, improving user experience, and enhancing
website speed; and SEO (Search Engine Optimization), which helps websites
rank higher on search engine results pages to increase visibility and traffic.
Accessibility, another vital factor, ensures that websites are usable by people with
disabilities, adhering to guidelines like the Web Content Accessibility
Guidelines (WCAG).
The primary objective of web development is to build functional, user-friendly,
and secure websites and applications that cater to the needs of both users and
businesses. As the web continues to evolve, with emerging technologies such as
Progressive Web Apps (PWAs), WebAssembly, and AI-driven development,
the role of web developers becomes increasingly crucial in delivering scalable,
efficient, and future-ready digital solutions across industries.
.
iv
Table of Contents
1. Introduction
1.1 Background
1.2 Purpose of the Training
1.3 Scope of the Report
3. Course Overview
3.1 Course Structure
3.2 Instructor Profile
3.3 Course Format
4. Curriculum Breakdown
4.1 Front-End Development
4.1.1 HTML5 and CSS3
4.1.2 Flexbox and Grid
4.1.3 Bootstrap 5
4.1.4 JavaScript ES6
4.1.5 DOM Manipulation
4.1.6 jQuery
4.2 Back-End Development
4.2.1 Node.js and Express.js
4.2.2 RESTful APIs
4.2.3 Databases
4.3 Full-Stack Frameworks
4.3.1 React.js and React Hooks
4.4 Web Design and Deployment
4.4.1 Version Control with Git and GitHub
4.4.2 Deployment Strategies
4.5 Web3 Development
4.5.1 Blockchain Technology
4.5.2 NFTs
v
5. Key Projects
5.1 Personal Portfolio Website
5.2 Netflix Clone
5.3 Landing page(jaguar f pace)
5.4 Calculator
6. Learning Outcomes
6.1 Comprehensive Skill Set
6.2 Project Development
6.3 Problem-Solving Skills
6.4 Portfolio Creation
7. Challenges Faced
7.1 Understanding Complex Concepts
7.2 Time Management
7.3 Debugging Issues
8. Conclusion
8.1 Summary
8.2 Future Aspirations
9. References
10. Appendices
9.1 Projects
9.2 Code Snippets
vi
INTRODUCTION
In an era where digital presence is paramount, the demand for skilled web developers
has surged. Understanding the critical role web development plays in creating and
maintaining effective online platforms, I enrolled in the Complete Web Development
Bootcamp. This industrial training report summarizes my experiences and insights
gained from completing this comprehensive course.
vii
1.3 Relevance of Web Development in Industry
Web development is a cornerstone of the digital economy, enabling businesses to
establish their online presence and engage with customers effectively. Organizations
utilize websites and web applications to streamline operations, enhance user
experiences, and drive growth. As the importance of a strong digital footprint
continues to grow, so does the demand for proficient web developers. This training
prepares individuals to meet this demand by cultivating skills that are directly
applicable in the tech industry, positioning them for success in a variety of roles.
viii
Course Overview
The Complete Web Development Bootcamp is meticulously designed to provide a
comprehensive education in both front-end and back-end web development. The
course is structured into multiple modules, each focusing on specific technologies and
concepts essential for aspiring web developers. Below is an overview of the course
structure and the modules included:
3.1 Course Structure
The bootcamp spans over 62 hours of video content, supplemented by quizzes, coding
exercises, and hands-on projects. The curriculum is divided into two main sections:
Front-End Development and Back-End Development, followed by a focus on full-
stack applications and advanced topics.
Duration: 62+ hours of HD video tutorials
Learning Format: Engaging video lectures, coding challenges, real-world
projects, and quizzes
Support: Access to a community forum and instructor assistance
3.2 Modules Overview
Module 1: Introduction to Web Development
Content: Overview of web development, key concepts, and the web
development stack.
Learning Outcomes: Understanding the roles of front-end and back-end
development.
Module 2: Front-End Development
2.1 HTML5 and CSS3
o Content: Basics of HTML structure, semantic elements, and styling
with CSS.
o Learning Outcomes: Ability to create structured and visually appealing
web pages.
2.2 Flexbox and Grid
o Content: Modern layout techniques for responsive design.
o Learning Outcomes: Proficiency in creating flexible and grid-based
layouts.
2.3 Bootstrap 5
ix
o Content: Utilizing Bootstrap for rapid UI development.
o Learning Outcomes: Knowledge of pre-built components for efficient
styling.
2.4 JavaScript ES6
o Content: Fundamentals of JavaScript, including variables, functions,
and ES6 features.
o Learning Outcomes: Ability to implement interactivity in web
applications.
2.5 DOM Manipulation
o Content: Understanding the Document Object Model (DOM) and how
to manipulate it.
o Learning Outcomes: Skills to dynamically change content and styles
on web pages.
2.6 jQuery
o Content: Introduction to jQuery for simplified JavaScript
programming.
o Learning Outcomes: Enhanced ability to write concise and efficient
JavaScript code.
Module 3: Back-End Development
3.1 Node.js and Express.js
o Content: Server-side programming with Node.js and building web
servers using Express.js.
o Learning Outcomes: Skills to create scalable web applications.
3.2 RESTful APIs
o Content: Understanding REST principles and creating APIs.
o Learning Outcomes: Ability to build and consume RESTful services.
3.3 Databases
o Content: Introduction to databases, SQL, and PostgreSQL.
o Learning Outcomes: Proficiency in managing data and database
interactions.
Module 4: Full-Stack Development
4.1 React.js and React Hooks
x
o Content: Building dynamic user interfaces with React and
understanding component-based architecture.
o Learning Outcomes: Skills to develop complex front-end applications.
Module 5: Web Design and Deployment
5.1 Version Control with Git and GitHub
o Content: Using Git for version control and collaborating on projects
with GitHub.
o Learning Outcomes: Understanding best practices in code
management.
5.2 Deployment Strategies
o Content: Techniques for deploying web applications to platforms like
GitHub Pages.
o Learning Outcomes: Skills to launch and maintain live websites.
Module 6: Advanced Topics
6.1 Web3 Development
o Content: Introduction to blockchain technology and decentralized
applications.
o Learning Outcomes: Knowledge of developing for the Web3
ecosystem.
6.2 Token Contract Development and NFTs
o Content: Understanding how to create smart contracts and non-
fungible tokens (NFTs).
o Learning Outcomes: Ability to explore innovative blockchain
applications.
xi
Key Tools and Technologies
Throughout the Complete Web Development Bootcamp, learners are exposed to a
wide array of tools and technologies that are essential for both front-end and back-end
development. Mastering these tools equips students with the skills needed to build
modern web applications efficiently. Below are the key tools and technologies
covered in the course:
xii
RESTful APIs: Representational State Transfer principles that guide the
creation and consumption of APIs. Learners understand how to design APIs
for data exchange between client and server.
SQL and PostgreSQL: Database management systems that enable learners to
create, read, update, and delete data. Students gain skills in writing queries and
managing relational databases.
xiii
Skills Developed
The Complete Web Development Bootcamp is designed to equip learners with a
comprehensive skill set that span both front-end and back-end development. Through
a blend of theoretical knowledge and practical application, participants emerge from
the course with a variety of essential skills that are highly sought after in the tech
industry. Below are the key skills developed during the course:
5.1 Front-End Development Skills
HTML5 Proficiency:
o Ability to create well-structured, semantic web pages using HTML5.
o Understanding of accessibility standards to ensure websites are usable
for all users.
CSS3 Expertise:
o Skills in styling web pages with CSS3, including layout design and
responsive techniques.
o Competence in using CSS preprocessors and frameworks like
Bootstrap for rapid development.
JavaScript Development:
o Proficiency in writing clean, efficient JavaScript code, including the
latest ES6 features.
o Ability to implement interactivity and dynamic content through
JavaScript programming.
DOM Manipulation:
o Skills in manipulating the Document Object Model (DOM) to update
content and styles dynamically.
o Familiarity with event handling to create responsive user interfaces.
Responsive Design Techniques:
o Mastery of layout models like Flexbox and CSS Grid for creating
adaptable web designs.
o Understanding of mobile-first design principles to ensure optimal user
experiences across devices.
5.2 Back-End Development Skills
xiv
Node.js Development:
o Ability to build scalable server-side applications using Node.js.
o Understanding of asynchronous programming and event-driven
architecture.
Express.js Framework:
o Skills in using Express.js to streamline server-side development,
including routing and middleware management.
o Ability to create RESTful APIs for client-server communication.
Database Management:
o Proficiency in SQL and PostgreSQL for managing relational databases.
o Skills in writing complex queries for data retrieval, manipulation, and
reporting.
5.3 Full-Stack Development Skills
React.js Development:
o Competence in building user interfaces with React, including
component-based architecture and state management.
o Understanding of React Hooks for managing state and side effects
efficiently.
Version Control with Git:
o Skills in using Git for version control, enabling effective collaboration
in team projects.
o Ability to resolve merge conflicts and maintain a clean codebase
through branching and pull requests.
5.4 Deployment Skills
Website Deployment:
o Understanding of deployment strategies for web applications,
including static site hosting with GitHub Pages.
o Skills in deploying full-stack applications on platforms like Heroku,
ensuring they are accessible to users.
5.5 Additional Skills
Web3 and Blockchain Understanding:
o Familiarity with decentralized web technologies and their implications
for future web development
xv
Key Projects
6.1 Personal Portfolio Website
Purpose
A personal portfolio website serves as a platform to showcase my skills and projects
as a web developer. It allows potential employers to view my work and understand
my capabilities, while also establishing my online presence.
Development Process
1. Planning: Outlined layout and design using HTML CSS .
2. Technologies: Used HTML5, CSS3, Bootstrap, and JavaScript for
development.
3. Implementation: Coded the site, integrated projects, and wrote descriptions.
4. Testing: Ensured compatibility and responsiveness across devices.
5. Deployment: Launched the site using GitHub Pages.
xvi
6.2 Netflix Clone
Purpose
The purpose of the Netflix clone project is to replicate the essential features of Netflix’s user
interface and functionality. This involves creating a platform that allows users to browse a
collection of movies, view featured content, and interact with elements like buttons and hover
effects. The project aims to provide a hands-on experience in front-end web development,
allowing the developer to practice working with HTML, CSS, and JavaScript. Additionally, the
project provides an opportunity to explore responsive design, improve layout aesthetics, and
implement basic interactive functionality like dynamically adding movie items to the list.
Development Process
1. Planning and Design:
The project starts with identifying the core features of the Netflix UI to be replicated, such
as the banner, movie grid layout, and navigation bar. The design phase includes choosing
the color scheme (Netflix’s dark theme with a red accent) and creating a responsive layout
for various screen sizes.
2. Front-End Technologies:
o HTML: The structure of the webpage is created using HTML. Elements such as
the navigation bar, banner, movie list, and footer are organized in a semantic
manner.
o CSS: Styling is implemented using CSS to achieve the visual design. This includes
the dark theme, hover effects, and layout adjustments like rounded corners for
movie items and buttons. The use of flexbox allows the movie list to adjust to
different screen sizes.
o JavaScript: The dynamic elements of the website, such as rendering the list of
movies and creating interactions (like the hover effect on movie items), are handled
using JavaScript. A function (displayMovies()) is created to loop through a list of
movies and dynamically add them to the page.
3. Responsiveness and User Experience:
Responsiveness is achieved using flexbox, ensuring that the layout adjusts for different
screen sizes. Hover effects on navigation items and movie images enhance the user
experience by providing feedback to user interactions, such as color changes and zoom
effects.
xvii
6.3 Landing page(jaguar f pace)
Purpose
The purpose of this project is to create a visually appealing, responsive landing page for the
Jaguar F-PACE. The goal is to promote the luxury SUV by highlighting its key features, offering
a gallery of images, and providing an option to book a test drive. The project focuses on delivering
a seamless user experience with smooth animations, transitions, and a polished design that reflects
the brand's premium nature.
Development Process
1. Planning & Design:
o The first step involved identifying the main sections of the landing page: About,
Features, Gallery, and Test Drive. Each section serves a specific purpose, from
providing details about the car to showcasing its design and performance through
images.
o The design aims to reflect Jaguar's luxury brand image by using a dark color
palette with sleek transitions and animations. The gradient background, transparent
overlays, and high-quality imagery contribute to the modern, premium feel of the
site.
2. Front-End Technologies:
o HTML: The page is structured using HTML. Key sections like the navigation bar,
hero section, and content sections are built with semantic elements for clarity and
SEO benefits.
o CSS:
Styling and Layout: CSS is extensively used to style the page with gradient
backgrounds, box shadows, and hover effects. The layout is made
responsive using flexbox, which ensures the gallery and other elements
adjust smoothly across different screen sizes.
Animations: CSS animations (keyframes) are used for elements like the
text pop-up in the hero section and image animations in the gallery. The
fade-in and zoom effects add to the site’s interactive feel.
Hover Effects: Transition and hover effects are applied to the navigation
links, gallery images, and buttons to provide a refined user experience.
3. JavaScript Functionality:
o Test Drive Booking: JavaScript is used to handle the "Book a Test Drive"
functionality, where a simple alert function (bookTestDrive()) is triggered when the
user clicks the button.
o More functionality could be added in the future, such as form validation or
integrating an API for actual test drive bookings.
4. Responsiveness:
o Flexbox and Media Queries: The layout adjusts across different device screen
sizes. The use of flexbox for sections like the gallery ensures images are well-
aligned and the text remains readable on smaller screens.
o The gallery images are responsive, using percentage-based widths to maintain
consistent spacing, while animations are smoothly triggered as the page loads.
5. Future Enhancements:
o Form Integration: A booking form could be integrated with back-end
functionality for users to provide their contact details.
API Integration: Further development could include integrating an external
xviii
6.4 basis calculator
Development Process
1. Feature Planning: Decide on core functionalities, including basic operations, a clear
button (AC), and display for results.
2. UI Design: Create an HTML layout with:
o A display for numbers/results.
o Buttons for digits, operators, and functions, styled with CSS for responsiveness and
interactivity.
3. JavaScript Functionality:
o appendToDisplay(value): Handles user input and updates the display.
o clearDisplay(): Resets the display and calculation.
o calculate(): Evaluates the current expression using eval().
o toggleNegative(): Switches the sign of the current value.
o Implement event listeners for button interactions.
4. Testing and Debugging: Test the calculator for functionality, handling edge cases, and
fixing bugs.
5. Refinement: Improve the app with input validation, operator precedence, and responsive
design. Consider adding advanced functions or memory buttons.
Conclusion
This project helps you create a functional calculator while gaining hands-on experience in
designing, coding, testing, and debugging a web application, ultimately enhancing your skills in
web development
xix
Learning Outcomes
1. Technical Proficiency
API Integration: Gained hands-on experience in integrating third-party APIs,
learning how to fetch and manipulate data effectively.
JavaScript Skills: Improved proficiency in JavaScript, particularly in handling
asynchronous operations and using modern ES6 features like promises and
async/await.
HTML/CSS Mastery: Enhanced skills in HTML5 and CSS3, focusing on
creating responsive designs and using frameworks like Bootstrap.
2. Problem-Solving Skills
Developed a systematic approach to troubleshooting issues encountered during
development, such as API errors and cross-browser compatibility problems.
Learned to analyze problems critically and devise practical solutions,
improving my ability to adapt to challenges.
3. User Experience Design
Gained insights into UI/UX design principles, focusing on creating intuitive
interfaces that enhance user engagement.
Understood the importance of user feedback in the design process and how to
iterate based on real-world testing.
4. Project Management
Enhanced skills in project planning and management, from initial concept
through to deployment.
Learned the value of version control (using Git) for tracking changes and
collaborating on projects.
5. Testing and Debugging
Developed a strong foundation in testing methodologies, including unit testing
and user acceptance testing.
Improved debugging skills by systematically identifying and resolving issues
during development.
6. Deployment and Hosting
xx
Gained experience in deploying web applications to hosting platforms,
understanding the deployment process and the importance of ensuring website
security.
xxi
Implemented loading indicators to inform users when data is being fetched.
Used promises and async/await syntax in JavaScript to streamline API calls
and ensure that data is processed smoothly.
4. Cross-Browser Compatibility
Challenge:
Ensuring that the application works seamlessly across different browsers and devices.
Solution:
Conducted extensive testing on various browsers (Chrome, Firefox, Safari)
and devices (mobile and desktop).
Utilized CSS resets and poly fills to maintain consistent styling and
functionality across different environments.
5. Data Presentation
Challenge:
Displaying complex weather data (e.g., forecasts, humidity, wind speed) in a way that
is easily understandable.
Solution:
Organized data into sections with clear headings and icons to represent
different weather conditions visually.
Used charts or graphs for forecast data to provide a clear visual representation
of changes over time.
6. Responsive Design
Challenge:
Ensuring the application is mobile-friendly and displays well on various screen sizes.
Solution:
Employed responsive design principles using media queries and flexible grid
layouts.
Tested the application on different devices and screen resolutions to ensure a
seamless experience for all users.
xxii
Conclusion
The journey of developing the weather application has been an invaluable experience
that significantly contributed to my growth as a web developer. Throughout this
project, I honed my technical skills in HTML, CSS, JavaScript, and API integration
while gaining insights into user experience design and project management.
Summary of Experience
Facing challenges such as API integration, responsive design, and ensuring cross-
browser compatibility allowed me to develop problem-solving abilities and
adaptability. Each obstacle I overcame not only enhanced my critical thinking but also
reinforced my commitment to delivering a functional and user-friendly application.
The emphasis on user feedback and iterative design taught me the importance of
creating applications that meet real-world needs.
Future Applications
Looking ahead, the skills and knowledge acquired from this project will serve as a
strong foundation for future endeavours. I plan to explore the following applications:
xxiii
References
1. Netflix Clone
documentation.
pages.
3. Calculator
freeCodeCamp.
o HTML & CSS Layout: Built using standard practices for creating
Additional Resources
.
xxv
APPENDIX A
SCREEN SHOTS
LANDING PAGE
(JAGUAR FPACE)
xxvi
ScreenShot representing Landing Page
xxvii
APPENDIX B
SOURCE CODE
(landing page )
Index.html file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Jaguar F-PACE</title>
</head>
<body>
<header>
<div class="navbar">
<h1>Jaguar</h1>
<nav>
<ul>
<li><a href="#about">About</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#gallery">Gallery</a></li>
<li><a href="#test-drive">Book a Test Drive</a></li>
</ul>
</nav>
</div>
</header>
<section class="hero">
<div class="hero-text">
<h2>Unleash the Spirit of Performance</h2>
xxviii
<p>Experience the perfect blend of luxury and agility.</p>
<button onclick="bookTestDrive()">Explore the F-PACE</button>
</div>
</section>
<section id="about">
<h2>The Ultimate SUV Experience</h2>
<p>Discover the Jaguar F-PACE, where elegance meets performance. Designed for those who
appreciate the finer things in life, it offers unparalleled comfort, cutting-edge technology, and a thrilling
driving experience.</p>
</section>
<section id="features">
<h2>Key Features</h2>
<ul>
<li><strong>Performance:</strong> 0-60 mph in just 5.0 seconds.</li>
<li><strong>Design:</strong> Sleek, aerodynamic profile with premium materials.</li>
<li><strong>Technology:</strong> Touch Pro™ infotainment system.</li>
<li><strong>All-Wheel Drive:</strong> Confidence in any condition.</li>
</ul>
</section>
<section id="gallery">
<h2>Gallery</h2>
<div class="gallery-images">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\image1.jpg" alt="F-PACE Front View"
style="animation-delay: 0.1s;">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\image2.jpg" alt="F-PACE Interior"
style="animation-delay: 0.2s;">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\image3.jpg" alt="F-PACE Side View"
style="animation-delay: 0.3s;">
</div>
</section>
<section id="test-drive">
<h2>Ready to Experience the F-PACE?</h2>
xxix
<button onclick="bookTestDrive()">Book a Test Drive</button>
</section>
<footer>
<p>© 2024 Jaguar. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background: linear-gradient(to bottom right, #FF6F61, #6B5B95, #88B04B); /* Colorful gradient
background */
color: white; /* Set default text color to white */
overflow-x: hidden; /* Prevent horizontal overflow */
}
header {
background-color: rgba(0, 0, 0, 0.7);
padding: 10px 20px;
}
.navbar {
display: flex;
justify-content: space-between;
xxx
align-items: center;
}
nav ul {
list-style-type: none;
display: flex;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
transition: color 0.3s; /* Transition for hover effect */
}
nav ul li a:hover {
color: #FFD700; /* Gold color on hover */
}
.hero {
background-image: url("background.jpg"); /* Replace with your image path */
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
animation: fadeIn 2s ease-in-out; /* Background fade-in effect */
}
.hero::after {
content: '';
xxxi
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5); /* Dark overlay */
z-index: 1; /* Place overlay below text */
}
.hero-text {
position: relative; /* Positioning for the text */
z-index: 2; /* Bring text above overlay */
animation: popUp 1s ease forwards; /* Pop-up animation for text */
opacity: 0; /* Start invisible */
padding: 20px; /* Add padding around the text */
border-radius: 10px; /* Rounded corners for the background */
background-image: url("background.jpg"); /* Background image behind the text */
background-size: cover; /* Cover the entire area */
background-position: center; /* Center the image */
}
.hero-text h2,
.hero-text p {
background: rgba(22, 21, 21, 0.7); /* Semi-transparent background for text */
padding: 10px; /* Padding for the text */
border-radius: 8px; /* Rounded corners */
}
@keyframes popUp {
0% {
transform: translateY(20px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
xxxii
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
section {
padding: 40px 20px;
text-align: center;
background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for sections */
margin: 20px 0;
border-radius: 10px; /* Rounded corners */
}
#gallery {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.gallery-images {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.gallery-images img {
width: 30%;
margin: 10px;
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for hover effect */
opacity: 0; /* Start invisible */
xxxiii
animation: imagePopUp 0.5s ease forwards; /* Image pop-up animation */
}
@keyframes imagePopUp {
0% {
transform: translateY(20px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
.gallery-images img:hover {
transform: scale(1.05); /* Slight zoom effect on hover */
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Shadow effect on hover */
}
footer {
background-color: rgba(0, 0, 0, 0.7);
text-align: center;
padding: 10px 0;
}
xxxiv
Netflix Clone
Screen Shots
xxxv
xxxvi
SOURCE CODE
HTML FILE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Netflix</title>
</head>
<body>
<header>
<h1>My Netflix Clone</h1>
<nav>
<ul>
<li>Home</li>
<li>Movies</li>
<li>Series</li>
<li>Contact</li>
</ul>
</nav>
</header>
<main>
<section id="banner">
<h2>Featured Movie</h2>
<div class="banner-content">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\featured.jpg" alt="LUCIFER">
<button id="watch-button">Watch Now</button>
</div>
</section>
xxxvii
<section id="movies">
<h2>Popular Movies</h2>
<div class="movie-list" id="movie-list">
<div class="movie-item">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\movie1.jpg" alt="THE MONKEY
KING">
<h4>THE MONKEY KING</h4>
</div>
<div class="movie-item">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\movie2.jpg" alt="MONEY HEIST">
<h4>MONEY HEIST</h4>
</div>
<div class="movie-item">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\movie3.jpg" alt="SPIDER MAN INTO
THE SPIDER VERSE">
<h4>SPIDER MAN INTO THE SPIDER VERSE</h4>
</div>
<div class="movie-item">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\movie4.jpg" alt="close ">
<h4>CLOSE</h4>
</div>
<div class="movie-item">
<img src="C:\Users\prabhjot singh\OneDrive\Desktop\movie5.jpg" alt="ARNOLD">
<h4>ARNOLD</h4>
</div>
</div>
</section>
</main>
<footer>
<p>© 2023 Netflix</p>
</footer>
<script src="script.js"></script>
</body>
</html>
xxxviii
CSS FILE
*{
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to bottom, #0e0e0e, #141414);
color: white;
}
header {
background-color: rgba(173, 216, 230, 0.9);
padding: 20px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 20px;
cursor: pointer;
transition: color 0.3s, transform 0.2s;
}
nav ul li:hover {
color: #e50914; /* Change color on hover */
transform: scale(1.1); /* Slight zoom effect */
xxxix
}
#banner {
background-color: #222;
position: relative;
text-align: center;
margin: 20px;
padding: 20px;
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.banner-content img {
width: 100%;
max-width: 600px;
border-radius: 10px;
}
#watch-button {
background-color: #e50914;
border: none;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s, transform 0.2s;
}
#watch-button:hover {
background-color: #ff1a1a;
transform: scale(1.05); /* Slight zoom effect */
}
#movies {
background-color: rgba(28, 28, 28, 0.9);
padding: 20px;
xl
\ margin: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.movie-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.movie-item {
margin: 10px;
width: 150px;
transition: transform 0.2s, opacity 0.5s;
position: relative;
border-radius: 10px; /* Rounded corners for movie items */
overflow: hidden; /* Ensures no overflow */
}
.movie-item img {
width: 100%;
border-radius: 10px; /* Rounded corners */
transition: transform 0.3s, box-shadow 0.3s;
}
.movie-item:hover img {
transform: scale(1.1); /* Slight zoom effect on hover */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); /* Shadow effect on hover */
}
.movie-item h4 {
text-align: center;
margin: 5px 0;
font-size: 16px;
transition: color 0.3s;
}
xli
.movie-item:hover h4 {
color: #e50914; /* Change text color on hover */
}
footer {
text-align: center;
padding: 20px;
background-color: #333;
}
xlii
CERTIFICATE
xliii
xliv