Amish Balpande (1) - 1
Amish Balpande (1) - 1
2) Internshala Training :
Internshala offers a range of online training programs across various domains,
including programming, data science, digital marketing, design, business
communication, and more. These courses are designed to be beginner-friendly
and often include practical projects to help students build a portfolio.
3) Features :
Self-paced Learning : Students can learn at their own pace.
Certificates : Upon successful completion, students receive a certificate of training.
Live Projects : Many courses include projects that simulate real-world scenarios.
Affordable Pricing : Internshala training programs are priced affordably to make
them accessible to a wide range of students.
The platform has helped millions of students find internships, enhancing their
employability by providing them with real-world experience.
5) Internship Opportunities :
Internshala provides internships in various domains such as engineering,
marketing, content writing, design, and human resources.
Both virtual and in-office internships are available, making it flexible for students
from different locations.
6) Career Services :
Apart from internships and training, Internshala offers career services like resume
writing, interview preparation, and career counseling to help students in their job
search.
CHAPTER 2 : INTRODUCTION OF INDUSTRY
Website : https://internshala.com
CHAPTER 3 : SOFTWARE, HARDWARE / TOOLS
‣ INTRODUCTION
Web development is a multifaceted field that requires a combination of software,
hardware, and specialized tools to create and maintain websites and web
applications. Software plays a critical role, encompassing programming
languages like HTML, CSS, and JavaScript for frontend development, as well as
backend languages like Python, PHP, and Node.js that manage server-side
operations. Developers also rely on frameworks and libraries such as React,
Angular, and Django to streamline coding processes and enhance functionality.
On the hardware side, powerful computers and servers are essential for running
development environments, testing, and hosting websites. Local servers like
XAMPP or MAMP simulate server conditions on a developer’s machine, while
cloud servers such as AWS and Google Cloud provide scalable hosting solutions.
Finally, a variety of tools are used throughout the development process, from
IDEs like Visual Studio Code for writing and debugging code, to version control
systems like Git for managing changes, and design tools like Figma for creating
user interfaces. These components collectively enable developers to build
responsive, secure, and efficient web projects.
‣ IN WEB DEVELOPMENT
Software includes programming languages like HTML, CSS, and JavaScript for
frontend design, and backend languages like Python and PHP for server-side
logic. Frameworks (e.g., React, Django) and content management systems
(e.g., WordPress) are also key software tools.
Tools encompass IDEs (e.g., Visual Studio Code) for coding, version control
systems (e.g., Git) for tracking changes, and design tools (e.g., Figma) for creating
user interfaces. These tools streamline development and ensure efficient project
management.
CHAPTER 4 : BASIC OF WEB PAGE AND HTML
‣ INTRODUCTION TO HTML
HTML (HyperText Markup Language) is the foundational language used to
create the structure and content of web pages. It serves as the backbone of a
website, defining elements such as headings, paragraphs, images, links, and
other multimedia. HTML uses a system of tags and attributes to organize and
format content, allowing browsers to display it correctly to users.
<ul><li>Item 1</li>
5) <ul> Defines an unordered list
<li>Item 2</li></ul>
<ol><li>First item</li>
6) <ol> Defines an ordered list
<li>Second item</li></ol>
‣ WHAT IS CSS ?
1) CSS describes how HTML elements are to be displayed on screen, paper,
or in other media.
2) CSS saves a lot of work. It can control the layout of multiple web pages all at
once.
5) CSS Saves a lot of Work! The style definitions are normally saved in external
.css files.
6) With an external style sheet file, we can change the look of an entire website
by changing just one file!
1) External Styles : Defined in a separate .css file and linked to the HTML
document using the <link> tag. This method is ideal for
maintaining consistent styles across multiple pages.
2) Internal Styles : Defined within the <style> tag in the <head> section of the
HTML document. Useful for styles specific to a single page.
Example :-
<style>
body { background-color: lightgray; }
</style>
3) Inline Styles : Applied directly to individual HTML elements using the style
attribute. This method has the highest specificity but is
generally used sparingly.
2) Id selectors
Description : Selects a single element with a specific ID attribute. IDs should
be unique within a page.
Example :
#abc {
color : red;
}
3) Class Selectors
Description : Selects all elements with a specific class attribute.
Example :
.xyz {
background-color : yellow;
}
4) Child Selectors
Description : Use concept of parent-child hierarchy to select any HTML
element.
Example :
ul > li {
list-style-type : square;
}
5) Descendent Selectors
Description : Use concept of descendants to select the HTML elements.
Example :
div a {
color : green;
}
6) Attribute Selector
Description : Selects elements with a specific attribute and value.
Example :
input[type=”text”] {
border : 1px solid black;
}
‣ CSS BOX MODEL
The CSS Box Model is a fundamental concept in web design that describes how
elements are structured and spaced on a web page. It consists of several layers
that define the size, padding, border, and margin of an element. Understanding
the box model is crucial for effectively managing layout and spacing in CSS.
‣ COMPONENTS OF THE CSS BOX MODEL
1) Content
Description : The innermost part of the box, where the text or images are
displayed.
2) Padding
Description : Space between the content and the border, providing inner
spacing around the content.
Size : Controlled by the padding property (can be set for all sides
simultaneously or individually for each side: padding-top, padding-
right, padding-bottom, padding-left).
3) Border
Description : Surrounds the padding (if any) and content, and is used to
define a boundary or outline around the element.
Size : Controlled by the border property (thickness, style, and color can be
set using border-width, border-style, and border-color).
4) Margin
Description : Space outside the border, separating the element from other
elements or the edge of its containing element.
Size : Controlled by the margin property ( can be set for all sides
simultaneously or individually for each side : margin-top,
margin-right, margin-bottom, margin-left ).
The CSS display property controls the display behavior of an element and
determines how it interacts with other elements on the web page. It is
fundamental in shaping the layout and visibility of elements. Here are some
common values and their effects.
Uses :
div {
display: block;
}
2) display : inline
Description : The element generates an inline-level box, which only takes
up as much width as necessary and does not force line
breaks. It sits within the flow of text.
Uses :
.button {
display: inline-block;
width: 100px;
height: 50px;
}
4) display : none
Description : The element is not rendered at all. It effectively removes the
element from the document flow, making it invisible and not
taking up any space.
Uses :
.hidden {
display: none;
}
5) display : flex
Description : The element becomes a flex container, allowing its children
to be arranged in a flexible and responsive layout using
flexbox properties.
Uses :
.container {
display: flex;
}
‣ CSS POSITION PROPERTY
The CSS position property specifies how an element is positioned in the
document. It affects the layout and stacking order of the element. Here’s a
summary of its key values.
‣ MEDIA QUERIES
CSS Media Queries are a powerful feature used in responsive web design to
apply styles based on the characteristics of the device or viewport, such as its
width, height, or resolution. Media queries help ensure that websites look good
and function well on various devices, from desktops to smartphones.
‣ EXAMPLE OF COMBINED MEDIA QUERIES
/* Default styles */
body {
font-size: 16px;
}
/* Styles for tablets and larger screens */
@media (min-width: 768px) {
body {
font-size: 18px;
}
}
/* Styles for large desktops */
@media (min-width: 1200px) {
body {
font-size: 20px;
}
}
CHAPTER 6 : BOOTSTRAP AND ITS FEATURES
‣ WHAT IS BOOTSTRAP?
Bootstrap is a popular open-source front-end framework designed to help
developers build responsive and visually appealing web applications quickly
and efficiently. It provides a collection of CSS and JavaScript components,
pre-designed layouts, and utility classes that streamline the development
process.
2) Pre-Built Components
Description : Bootstrap offers a wide range of ready-to-use components
such as buttons, forms, navbars, modals, and carousels.
3) Grid System
Description : The framework provides a flexible 12-column grid system
for creating complex layouts with ease. It supports multiple
breakpoints for responsive design.
Example :
<div class="container">
<div class="row">
<div class="col-sm-4">1 of 3</div>
<div class="col-sm-4">2 of 3</div>
<div class="col-sm-4">3 of 3</div>
</div>
</div>
4) Consistent Styling
Description : Bootstrap ensures a consistent look and feel across different
browsers and devices by providing a standard set of styles
and design patterns.
5) Documentation
Description : Bootstrap comes with comprehensive documentation that
includes examples and usage guidelines for all its
components and features.
‣ BOOTSTRAP COMPONENT
Bootstrap offers a wide range of pre-built components that help streamline
the development process by providing ready-to-use elements with consistent
styling and behavior. Here’s an overview of some key Bootstrap components.
1) Buttons
In Bootstrap, buttons are a fundamental component used to trigger actions
or navigate through different parts of a website. Bootstrap provides a variety
of button styles and functionalities that are easy to implement and
customize.
I) Button Styles
Primary : Highlights the most important action.
Example : <button type="button" class="btn btn-primary">
Primary</button>
Basic Structure
A typical Bootstrap Navbar consists of several key components:
Navbar : The main container for the navigation bar.
Navbar Brand : Displays the brand name or logo.
Navbar Links : Provides navigation options.
Navbar Toggler : For toggling the navigation menu on smaller screens.
Navbar Collapse : Contains the collapsible navigation items.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
(current)</span></a>
</li>
<li class="nav-item">
</li>
<li class="nav-item">
</li>
</ul>
</div>
</nav>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js">
</script>
</body>
</html>
‣ Explanation
Navbar Container : <nav class="navbar navbar-expand-lg navbar-light bg-light">
creates the navigation bar with a light background.
‣ Key Features
Header : Contains the title and optionally a close button.
Body : Holds the main content of the modal.
Footer : Contains action buttons, such as "Save" or "Close."
‣ Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Invalid Password Modal</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<!-- Login Form : Contains an input field for the password and a submit button -->
<form id="loginForm">
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" required>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<!-- Invalid Password Modal: Appears when the password in incorrect -->
<div class="modal fade" id="invalidPasswordModal" tabindex="-1"
role="dialog" aria-labelledby="modalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modalLabel">Invalid Password</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
The password you entered is incorrect. Please try again.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">
Close</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js">
</script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js">
</script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js">
</script>
<!—JavaScript: Handles form submission and displays the modal if the
password is incorrect. -->
<script>
document.getElementById('loginForm').addEventListener('submit', function(event)
{event.preventDefault();
var password = document.getElementById('password').value;
if (password !== 'correctpassword')
{
$('#invalidPasswordModal').modal('show');
}
});
</script>
</body>
</html>
4) Carousel
A Bootstrap Carousel is a component that allows you to create a slideshow of
items, such as images or text, that automatically or manually cycle through in a
container. It's useful for showcasing multiple pieces of content in a small space.
‣ Key Features
Slides : The content items that are shown in the carousel.
Indicators : Small dots or thumbnails that show which slide is currently
visible and allow users to navigate directly to a specific slide.
Controls : Buttons for navigating to the next or previous slides.
Automatic Cycling : Optionally, the carousel can automatically transition
between slides.
‣ Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Carousel</title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<!—Carousel Container-->
<div id="carouselExample" class="carousel slide" data-ride="carousel">
<!—Slides-->
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://via.placeholder.com/800x400?text=Slide+1" class="d-block
w-100" alt="Slide 1">
</div>
<div class="carousel-item">
<img src="https://via.placeholder.com/800x400?text=Slide+2" class="d-block
w-100" alt="Slide 2">
</div>
<div class="carousel-item">
<img src="https://via.placeholder.com/800x400?text=Slide+3" class="d-block
w-100" alt="Slide 3">
</div> </div>
<!—Controls-->
<a class="carousel-control-prev" href="#carouselExample" role="button"
data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExample" role="button"
data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true">
</span>
<span class="sr-only">Next</span>
</a>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js">
</script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js">
</script>
</body>
</html>
Chapter 7 : JavaScript
‣ WHAT IS JAVASCRIPT ?
‣ KEY FEATURES
Versatile : Can be used both on the client side (in web browsers) and server side
(using environments like Node.js).
‣ BASIC EXAMPLE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JavaScript Example</title>
</head>
<body>
<button onclick="showAlert()">Click Me</button>
<script>
function showAlert() {
alert('Hello, World!');
}
</script>
</body>
</html>
‣ EXPLANATION
I) Variables
Variables are used to store data values. You can declare variables using the
var, let, or const keywords:
var : Older syntax for variable declaration. It has function scope and can be re-
declared and updated.
let : Modern syntax for variable declaration with block scope. It can be updated
but not re-declared within the same block.
II) Operators
Operators are used to perform operations on variables and values. Here are
some common types :
II) Strict Equal to (===) : Checks if two values are equal and of the same type.
Example : let isStrictEqual = (5 === ‘5’); //false
III) Not Equal to (!=) : Checks if two values are not equal.
Example : let isNotEqual = (5 != 3); //true
I) if Statement
Executes a block of code if its condition is true.
Example :
let age = 18;
if (age >= 18) {
console.log('You are an adult.');
}
Example :
for (let i = 0; i < 5; i++) {
console.log(i);
}
// Output: 0, 1, 2, 3, 4
II) while Loop
Repeats code as long as its condition remains true.
Example :
let count = 0;
while (count < 5) {
console.log(count);
count++;
}
// Output: 0, 1, 2, 3, 4
III) do...while Loop
Similar to while, but guarantees that the code block is executed at least once.
Example :
let count = 0;
do {
console.log(count);
count++;
} while (count < 5);
// Output: 0, 1, 2, 3, 4
‣ FUNCTIONS
In JavaScript, functions are blocks of code designed to perform a specific task.
They are one of the most fundamental building blocks in JavaScript, allowing
you to write reusable and organized code.
3) Arrow Functions
Arrow functions provide a more concise syntax for writing functions. They are
always anonymous and are often used in shorter functions.
Example :
const multiply = (a, b) => a * b;
console.log(multiply(4, 2)); // Output: 8
4) Default Parameters
You can assign default values to function parameters, which will be used if no
arguments are provided when the function is called.
Example :
function greet(name = 'Guest') {
console.log('Hello, ' + name + '!');
}
greet(); // Output: Hello, Guest!
greet('Alice'); // Output: Hello, Alice!
5) Anonymous Functions
Functions that are declared without a name. They are often used as arguments
to other functions or assigned to variables.
Example :
setTimeout(function() {
console.log('This message is delayed.');
}, 2000);
6) Parameters and Arguments
Parameters : Variables listed as part of the function's definition.
Arguments : Values passed to the function when it is invoked.
Example :
function subtract(a, b) { // 'a' and 'b' are parameters
return a - b;
}
console.log(subtract(10, 3)); // Output: 7 (10 and 3 are arguments)
7) Return Statement
The return statement stops the execution of the function and returns a value
from that function.
Example :
function divide(a, b) {
return a / b;
}
let result = divide(10, 2);
console.log(result); // Output: 5
‣ ARRAYS
In JavaScript, an array is a data structure that allows you to store multiple values
in a single variable. Arrays are one of the most commonly used data structures
in JavaScript because they enable you to work with a list of items in an ordered
fashion.
1) Creating an Array
Arrays can be created using square brackets [] or the Array constructor.
Example :
let fruits = ['Apple', 'Banana', 'Cherry']; // Array literal
let numbers = new Array(1, 2, 3, 4); // Array constructor
numbers.reverse();
console.log(numbers); // Output: [5, 4, 3, 2, 1]
‣ OBJECTS
In JavaScript, objects are one of the most important and versatile data types. An
object is a collection of key-value pairs, where each key (or property) is a string
(or symbol) and each value can be any data type, including another object, array,
function, or primitive value (like numbers or strings). Objects are fundamental in
JavaScript and are used to store and organize data.
I) Dot Notation
Example : console.log(person.firstName); //output: John
Example :
person.age = 31; // Modify existing property
person.gender = 'male'; // Add new property
delete person.isEmployed; // Delete a property
console.log(person); // Output: {firstName: 'John', lastName:
Example :
<html>
<body>
<h1>Hello, World!</h1>
<p>This is a paragraph.</p>
</body>
</html>
In the DOM, this would be represented as a tree structure with the <html>,
<body>, <h1>, and <p> elements as nodes.
2) Accessing DOM Elements
You can access elements in the DOM using various methods provided by the
document object.
‣ COMMON METHODS :
getElementById(id) : Selects an element by its id.
getElementsByClassName(className) : Selects all elements with a specific class.
getElementsByTagName(tagName) : Selects all elements with a specific tag name.
querySelector(selector) : Selects the first element that matches a CSS selector.
querySelectorAll(selector) : Selects all elements that match a CSS selector.
Example :
// Access an element by ID
let header = document.getElementById('main-header');
4) Event Handling
The DOM allows you to interact with user actions by listening to events like
clicks, keypresses, and form submissions.
‣ Common Methods :
addEventListener(event, function) : Adds an event listener to an element.
removeEventListener(event, function) : Removes an event listener from an
element.
Example :
let button = document.getElementById('myButton');
button.addEventListener('click', function() {
alert('Button clicked!');
});
Chapter 8 : Final Project
After learning many of the things in web development area, it’s time to build
something upon the learnt things to show our skills and learn them more. So,
we made a project using the things we learnt so far. We have used following
technologies in our project:
• HTML
• CSS
• JavaScript PG LIFE WEB APPLICATION
1) Property_details.html
2) Property_list.html
AGNIHOTRI SCHOOL OF TECHNOLOGY, WARDHA.
DEPARTMENT OF COMPUTER ENGINEERING
REPORT ON
INDUSTRIAL TRAINING
COMPLETED SUCCESSFULLY
AT
" INTERNSHALA PVT. LTD. "
GUIDED BY
ASHISH GAWALI SIR
GUNJAN BHAGWATKAR MADAM
MADHURI GHONGADE MADAM
RUPALI KALOKAR MADAM
FULFILLED BY
CHINMAYEE S. DEOTARE
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
ACKNOWLEDGEMENT
TO BECOME A PROFESSIONAL IN COMPUTER ENGINEERING,
INDUSTRIAL TRAINING IS THE FOUNDATION FOR EACH
UNDERGRADUATE STUDENT. IT HELPS STUDENTS TO IMPROVE
THEIR PRACTICAL SKILLS RELATED TO INTERPERSONAL, PROBLEMS
SOLVING, RESEARCH AND REPORTING AS WELL AS SOFT SKILLS.
ALSO IT HELPS THE STUDENTS GET EXPOSURE TO THE INDUSTRY,
APPLY THE GAINED KNOWLEDGE THROUGHOUT THE ACADEMIC
PROGRAM AND LEARN NEW UPDATED TECHNOLOGIES. IN
ADDITION, IT HELPS STUDENT'S CAREER DEVELOPMENT AND TO
PREPARE FOR EMPLOYMENT AFTER GRADUATION, BY ENGAGING
IN PERSONAL AND PROFESSIONAL DEVELOPMENT PLANNING. I
WOULD LIKE TO THANKFUL THE ADITYA SOOD SIR AND ANUJ
KALBALIA SIR FROM INTERNSHALA PVT. LTD. THE SUPERVISION
AND SUPPORT THAT HE GAVE TRULY HELP THE PROGRESSION AND
SMOOTHNESS OF THE INTERNSHIP PROGRAM BESIDES, THIS
INTERNSHIP PROGRAM MAKES ME REALIZED THAT THE VALUE OF
WORKING TOGETHER AS A TEAM AND AS A NEW EXPERIENCE IN
WORKING ENVIRONMENT. NOT FORGET, GREAT APPRECIATION TO
OTHER DEPARTMENT STAFF THAT HELPS ME FROM TIME TO TIME
DURING OUR INTERNSHIP. THE WHOLE PROGRAM REALLY
BROUGHT US TOGETHER TO APPRECIATE THE TRUE VALUE OF
FRIENDSHIP AND RESPECT OF EACH OTHER.
CONTENT PAGE
2) INTRODUCTION OF INDUSTRY
7) JAVASCRIPT
8) FINAL PROJECT