intership (1) (3)
intership (1) (3)
ON
“MORTGAGE CALCULATOR”
Prepared by
DIPLOMA OF INFORMATION
ACADEMIC YEAR
2024-25
May-2025
MONARK UNIVERSITY
Mechanical Engineering
2024-25
CERTIFICATE
Date: 31-03-2025
This is to certify that a study on entitled “Mortgage Calculator’’ has been carried
out by Patel Bhavy dipakbhai(22021306010066) under my guidance in fulfillment of
the Diploma to degree of Engineering in Information Technology 6 th Semester of
Monark University, Ahmedabad during the academic year 2024-
25.
Internal Guide: Prof. Rahul Jain Head of Dept.: Prof. Manoj Patel
7
Chapter 1: Introduction To HTML .
9
Chapter 2: HTML Tags .
2. Paragraph:-
• Used for defining paragraphs.
• Enclosed within <p> and </p> tags.
• Adds automatic spacing before and after.
• Text wraps to next line inside tag.
• Common in text-heavy content.
3.
Images:-
• Used to embed images.
• Utilizes the src attribute for image URL.
• Alt attribute for alternative text.
• Can be resized using width and height.
• Self-closing, doesn't require an end tag.
4. Videos:-
• Embeds video files on a page.
• Uses src attribute for video URL.
• Supports multiple formats like MP4, WebM .
• Allows for built-in controls via attributes like autoplay, controls, loop.
10
• We can also use CSS font-weight property to bold the text.
2. Italic:-
• To make the text italic in HTML, we can either use <i> or <em> tag.
• Both tags make the text italic but used for different purposes.
• The <i> tag is used to make the text italic without semantic meaning
while <em> makes the text italic with semantic importance,
improving accessibility and meaning in content.
3. Underline:-
• The <u> tag is used to underline text content.
• It wraps the content to be underlined with a horizontal line beneath
it.
• This tag is commonly used for hyperlinks or emphasized text.
4. Strikethrough:-
• Strikethrough text is a visual formatting style where a horizontal line
is drawn through characters.
• For example, Strikethrough Text. It is commonly used to indicate that
text is no longer valid, has been deleted, or that changes or
corrections have been made.
2. Main Tag:-
• Purpose: Encloses the primary content of a webpage.
• Semantic: Adds meaning, indicating the main content area.
• Unique: Should appear only once per page.
• Accessibility: Helps screen readers identify key content.
11
3. Section Tag:-
• Purpose: Groups related content in a distinct section.
• Semantic: Adds structure and meaning.
• Headers: Often used with a heading <h1> to <h6> to indicate section
topic.
• Nested: Can be nested within other <section> or <article> tags.
4. Article Tag:-
• Purpose: Encloses content that stands alone, like a blog post or news
story.
• Semantic: Provides contextual meaning.
• Independence: Content should make sense even if taken out of the
page context.
• Multiple Instances: Can be used multiple times on the same page.
2. Unordered Lists:-
• Purpose: Used for lists where the order of items doesn't matter.
• Default: Items are usually bulleted.
• Nesting: Can be nested within other lists.
12
Chapter 3: Introduction To CSS .
3.1 What is CSS?
• CSS stands for Cascading Style Sheets.
• CSS describes how HTML elements are to be displayed on screen,
paper, or in other media.
• CSS saves a lot of work. It can control the layout of multiple web
pages all at once.
• External stylesheets are stored in CSS files.
2. Internal CSS:-
• Internal CSS is a method for defining CSS styles directly within an
HTML document.
• It’s particularly useful for applying unique styles to a single web page.
13
• It’s embedded within the <style> element located in the <head>
section of the HTML file.
3. External CSS:-
• External CSS is a method used to style multiple HTML pages with a
single stylesheet.
• This approach involves creating a separate CSS file with a .css
extension that contains style properties applied to various selectors.
• By using external CSS, you can maintain a consistent design across
multiple web pages efficiently.
14
Chapter 4: Css Properties .
2. Margin Property:-
• Functionality: Sets the space around elements, separating them
from others.
• Customizable for top, right, bottom, and left sides.
• Shorthand: Allows quick setup, e.g., margin: 10px 20px.
• Auto Value: Can be used for central alignment with auto value.
4.4 Transitions.
• transition-property: Defines which CSS properties will transition.
• transition-duration: Sets how long the transition lasts.
• transition-timing-function: Controls the speed curve of the
transition.
• transition-delay: Specifies a delay before the transition starts.
15
Chapter 5: Introduction To Javascript .
16
Chapter 5: Javascript Properties .
6.1 Variables.
1 Var Keyword:-
• The JavaScript var statement declares variables with function scope
or globally.
• Before ES6, var was the sole keyword for variable declaration,
without block scope, unlike let and const. Var is rarely used these
days.
2 Let Keyword:-
• The let keyword in JavaScript is used to make variables that are
scoped to the block they’re declared in.
• Once you’ve used let to define a variable, you cannot declare it again
within the same block. It’s important to declare let variables before
using them.
• The let keyword was introduced in the ES6 or ES2015 version of
JavaScript.
• It’s usually recommended to use let when you’re working with
JavaScript.
3 Const Keyword:-
• The const keyword in JavaScript is used to create variables that
cannot be redeclared or changed after their first assignment. This
keeps the variable’s value fixed.
• Additionally, const doesn’t allow redeclaration of the same variable
within the same block, and it provides block scope.
• It was introduced in ES2015 (ES6) for creating immutable variables.
6.2 Operators.
1 Arithmetic Operators:-
• Addition (+) Operator:- The Addition Operator takes two numerical
operands and gives their numerical sum. It also concatenates two
strings or numbers.
• Subtraction (-) Operator:- The Subtraction Operator gives the
difference between two operands in the form of numerical value.
17
• Multiplication (*) Operator:- The Multiplication Operator gives the
product of operands where one operand is a multiplicand.
• Division (/) Operator:- The Division Operator provides the quotient
of its operands where the right operand is the dividend.
2 Assignment Operators:-
• Addition Assignment Operator(+=):- The Addition Assignment
Operator adds the value to the right operand to a variable and
assigns the result to the variable. Addition or concatenation is
possible. In case of concatenation then we use the string as an
operand.
• Subtraction Assignment Operator(-=):- The subtracts Subtraction
Assignment Operator the value of the right operand from a variable
and assigns the result to the variable.
• Multiplication Assignment Operator(*=):- The Multiplication
Assignment Operator multiplies a variable by the value of the right
operand and assigns the result to the variable.
• Division Assignment Operator(/=):- The Division Assignment
Operator divides a variable by the value of the right operand and
assigns the result to the variable.
3 Comparison Operators:-
• Equality Operator (==):- The Equality operator is used to compare
the equality of two operands.
• Inequality Operator (!=):- The Inequality Operator is used to
compare the inequality of two operands.
• Strict equality Operator (===):- The Strict equality Operator is used
to compare the equality of two operands with type.
• Strict inequality Operator (!==):- The Strict inequality Operator is
used to compare the inequality of two operands with type.
4 Logical Operators:-
• Logical AND (&&) Operator:- The logical AND (&&) operator checks
whether both operands are true. If both are true, the result is true. If
any one or both operands are false, the result is false.
• Logical OR (||) Operator:- The logical OR (||) operator checks
whether at least one of the operands is true. If either operand is
true, the result is true. If both operands are false, the result is false.
18
• Logical NOT (!) Operator:- The logical NOT (!) operator inverts the
boolean value of its operand. If the operand is true, it returns false. If
the operand is false, it returns true.
• Nullish Coalescing (??) Operator:- The nullish coalescing operator
(??) returns the right-hand operand when the left-hand operand is
either null or undefined. Otherwise, it returns the left-hand operand.
6.3 Statements .
1 JavaScript if-else:-
• JavaScript if-else statement executes a block of code based on a condition. If the condition
evaluates to true, the code inside the “if” block executes; otherwise, the code inside the
“else” block, if present, executes.
• Such control statements are used to cause the flow of execution to advance and branch
based on changes to the state of a program.
• The if statement alone tells us that if a condition is true it will execute a block of
statements and if the condition is false it won’t. But what if we want to do something else
if the condition is false?
• Here comes the else statement. We can use the else statement with the if statement to
execute a block of code when the condition is false.
19
6.4 Datatypes.
1 Primitive Datatypes:-
• Number: Represents numeric values (integers and decimals).
• Represents text enclosed in single or double quotes.
• Boolean: Represents a logical value (true or false).
• Undefined: A variable that has been declared but not assigned a
value.
2 Non-Primitive Datatypes:-
• Object: Represents key-value pairs.
• Array: Represents an ordered list of values.
• Function: Represents reusable blocks of code.
20
Chapter 16: Project Code & Images .
7.1 Growth-Website-Project.
1. Home Page.
21
Home Page Code.
2. About page.
22
About Page Code.
3. Pricing Page.
5. Footer Page.
24
Footer Page Code.
7.2 Starbucks-Project.
1. Home Page.
25
Home Page Code.
26
.
2. Menu Page
27
.
28
.
3. About Page
29
.
About Page Code.
4. Footer Page
30