Project.repo 2
Project.repo 2
PROJECT REPORT
OF MINI PROJECT
SUBMITTED BY:
KARTIKEYA SINGH(2301380100026)
SAKSHI PANDEY(2301380100043)
SAKSHI MISHRA(2301380100042)
Kartikeya Singh
Sakshi Pandey
Sakshi Mishra
B. Tech in Computer Science
BBS College of Engineering and Technology
Date:
WELCOME
INDEX
.Paragraphs
The HTML paragraph element is one of the most
common elements and as you might have guessed it defines
a paragraph.
.Line Breaks
As with print media, a paragraph creates a line break
below it to visually separate it from other paragraphs. This is
used to emphasize a semantic separation of content. The
same structure is used in a novel or a magazine.
.Block Elements
Elements that create the spacing below themselves on
a page are called block elements. Block elements appear
vertically down the left-hand side of a page at least until they
are styled by CSS. Examples of block elements are <div>,
<article>, <table>, and many more. This feature allows HTML
to start separating a web page into different sections.
.Headings
Paragraphs and headings work in concert to create the
majority of the text content of a web page and its structure.
HTML has six heading elements, which are numbered 1
through 6. h1 is the most significant and usually contains the
title of the content – Not to be confused with the title that
appears in the browser tab. h2 represents a subsection. h3
and so on represent identifiers of further subjects in
subsections until we get to h6.
CSS is used to handle some parts of the web page. With the
help of CSS, we can control the color of text and style of
fonts, and we can control the spacing between the
paragraph and many more things. CSS is easy to understand
but provides strong control on the Html documents.CSS is
combined with HTML.
SAKSHI PANDEY:
https://github.com/SAKSHI060405/MINI-PROJECT
SAKSHI MISHRA:
https://github.com/SAKSHIMISHRA271106/MINI-PROJECT
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">
<title>ANEFLEX</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header class="header">
<div class="logo">
<img class="logo-img" src="./pngwing.com (8).png"
alt="Avengers logo">
</div>
<div class="search">
<div class="searchbar">
<input type="text" id="search"
onkeyup="searchmovie()" class="boxx" placeholder="Search
Movie">
<img onclick="searchmovie()" src="./pngegg.png"
alt="png" class="searchpng">
</div>
</div>
</header>
<script src="./script.js"></script>
<div id="footer">
<div id="footer-content-table">
<div class="footer-box contact-us">
<div class="footer-box-title">
Contact Us
</div>
<div id="footer-contacts-list">
<a class="footer-contact" >
<img src="./pngwing.com (8).png" alt="logo
class='lo'">
</a>
</div>
</div>
<div class="footer-box other-links">
<div class="footer-box-title">
Other Links
</div>
<div id="footer-links-list">
<a href="/about" class="footer-link">About Us</a>
<a href="/report" class="footer-link">Report a
Problem</a>
</div>
</div>
</div>
<div>
<p>Designed by- Kartikeya Singh
, Sakshi Pandey
, Sakshi Mishra
</p>
</div>
</div>
</body>
</html>
CSS FILE :
*
{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
.header
{
width: 100%;
height: 80px;
background-color: rgb(0, 0, 0);
padding-left: 5%;
padding-right: 5%;
display: flex;
justify-content: space-between;
}
.logo
{
padding-top: 20px;
width: 20%;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
}
.search
{
padding-top: 25px;
width: 30%;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
}
.logo-img
{
height: 45px;
}
.searchbar
{
width: 80%;
height: 30px;
background-color: white;
display: flex;
align-items: center;
column-gap: 10px;
border-radius: 8px;
overflow: hidden;
}
.boxx
{
width: 80%;
height: 30px;
font-size: 17px;
text-indent: 20px;
border: none;
outline: none;
}
.searchpng
{
height: 16px;
}
.movies
{
width: 100%;
padding: 50px 5%;
background-color: grey;
display: flex;
flex-wrap: wrap;
column-gap: 6.5%;
row-gap: 25px;
}
.movie
{
background-color: brown;
width: 20%;
height: 300px;
overflow: hidden;
border-radius: 10px;
position: relative;
}
.overlay
{
width: 100%;
height: 100%;
background-color:rgb(0, 0, 0) ;
position: absolute;
opacity: 0;
transition: .3s;
cursor: pointer;
}
.overlay:hover
{
opacity: 1;
}
.video
{
width: 100%;
height: 50%;
}
.details
{
width: 100%;
height: 50%;
color: white;
font-size: small;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding-left: 7px;
display: flex;
flex-direction: column;
row-gap: 8px;
}
.poster
{
width: 100%;
height: 100%;
}
#footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: center;
}
#footer-content-table {
display: table;
width: 100%;
margin: 0 auto;
}
.footer-box {
display: table-cell;
padding: 10px;
vertical-align: top;
}
.contact-us .footer-box-title {
margin-bottom: 10px;
}
.footer-contact {
display: block;
}
.footer-contact img {
width: 70px;
height: 50px;
}
.other-links .footer-box-title {
margin-bottom: 10px;
}
.footer-link {
color: inherit;
text-decoration: none;
margin-bottom: 5px;
display: block;
}
.footer-link:hover {
color: #ddd;
}
JAVASCRIPT FILE :
let movies=[
{
name:"Deadpool & Wolverine",
rating:7.9,
poster:"https://cdn.marvel.com/content/1x/deadpoolandwolve
rine_lob_crd_03.jpg",
description:"Deadpool's peaceful existence comes crashing
down when the Time Variance Authority recruits him to help
safeguard the multiverse. He soon unites with his would-be pal,
Wolverine, to complete the mission and save his world from an
existential threa"
},
{
name:"Avengers: Infinity War",
rating:8.4,
poster:"https://cdn.marvel.com/content/1x/avengersinfinitywa
r_lob_crd_02_1.jpg",
description:"As Thanos sets about his quest for finding the
infinity stones and carrying out his twisted scheme, the
Avengers join forces with their allies to stop him from causing
chaos and destruction."
},
{
name:"Avengers: Age of Ultron",
rating:7.4,
poster:"https://cdn.marvel.com/content/1x/avengersageofultr
on_lob_crd_03.jpg",
description:"Tony Stark builds an artificial intelligence
system named Ultron with the help of Bruce Banner. When the
sentient Ultron makes plans to wipe out the human race, the
Avengers set out to stop him."
},
{
name:"Thor: Ragnarok",
rating:7.9,
poster:"https://cdn.marvel.com/content/1x/thorragnarok_lob_
crd_03.jpg",
description:"Deprived of his mighty hammer Mjolnir, Thor
must escape the other side of the universe to save his home,
Asgard, from Hela, the goddess of death."
},
{
name:"Doctor Strange",
rating:8,
poster:"https://cdn.marvel.com/content/1x/doctorstrange_lob
_crd_01_6.jpg",
description:"In an accident, Stephen Strange, a famous
neurosurgeon, loses the ability to use his hands. He goes to visit
the mysterious Ancient One to heal himself and becomes a
great sorcerer under her tutelage."
},
{
name:"Spider-Man: Far From Home",
rating:7.3,
poster:"https://cdn.marvel.com/content/1x/spider-
manfarfromhome_lob_crd_04_3.jpg",
description:"Peter Parker, the beloved superhero Spider-
Man, faces four destructive elemental monsters while on
holiday in Europe. Soon, he receives help from Mysterio, a
fellow hero with mysterious origins."
},
{
name:"Black Panther",
rating:7.3,
poster:"https://cdn.marvel.com/content/1x/blackpanther_lob_
crd_01_4.jpg",
description:"After his father's death, T'Challa returns home
to Wakanda to inherit his throne. However, a powerful enemy
related to his family threatens to attack his nation."
},
{
name:"The Avengers",
rating:8,
poster:"https://cdn.marvel.com/content/1x/theavengers_lob_c
rd_03.jpg",
description:"S.H.I.E.L.D. leader Nick Fury is compelled to
launch the Avengers programme when Loki poses a threat to
planet Earth. But the superheroes must learn to work together
if they are to stop him in time."
},
{
name:"Avengers: Endgame",
rating:8.4,
poster:"https://cdn.marvel.com/content/1x/avengersendgame
_lob_crd_05_2.jpg",
description:"After Thanos, an intergalactic warlord,
disintegrates half of the universe, the Avengers must reunite
and assemble again to reinvigorate their trounced allies and
restore balance."
},
{
name:"Daredevil",
rating:6,
poster:"https://cdn.marvel.com/content/1x/daredevil_lob_crd
_03.jpg",
description:"Matt Murdoch, a blind lawyer, vows to fight
crime in New York City and assumes a secret identity of
Daredevil. However, his mission attracts the ire of Kingpin, who
is determined to kill him"
},
{
name:"Venom",
rating:6.6,
poster:"https://cdn.marvel.com/content/1x/venom_lob_crd_0
1.jpg",
description:"While trying to take down Carlton, the CEO of
Life Foundation, Eddie, a journalist, investigates experiments of
human trials. Unwittingly, he gets merged with a symbiotic
alien with lethal abilities"
},
{
name:"Spider-Man: Homecoming",
rating:7,
poster:"https://cdn.marvel.com/content/1x/spider-
manhomecoming_lob_crd_02.jpg",
description:"Peter Parker tries to stop Adrian 'The Vulture'
Toomes from selling weapons made with advanced Chitauri
technology while trying to balance his life as an ordinary high
school student"
},
{
name:"Captain America: Civil War",
rating:7.8,
poster:"https://cdn.marvel.com/content/1x/captainamericacivil
war_lob_crd_01_9.jpg",
description:"When the collective governments decide to
ratify the Sokovia Accords, a legal document that regulates
superhuman activity, it leads to a discordance between Captain
America and Iron Man."
},
{
name:"Black Widow",
rating:6,
poster:"https://cdn.marvel.com/content/1x/blackwidow_lob_c
rd_06.jpg",
description:"Natasha Romanoff, a member of the Avengers
and a former KGB spy, is forced to confront her dark past when
a conspiracy involving her old handler arises."
},
{
name:"Iron Man 3",
rating:7.4,
poster:"https://cdn.marvel.com/content/1x/ironman3_lob_crd
_01_10.jpg",
description:"Suffering from PTSD, Tony Stark encounters a
formidable foe called the Mandarin. When he watches his
world fall apart, he must rely on his own instincts as he
embarks on a journey of retribution."
},
{
name:"Guardians of the Galaxy",
rating:8,
poster:"https://cdn.marvel.com/content/1x/guardiansofthegala
xy_lob_crd_03.jpg",
description:"A bunch of skilled criminals led by brash
adventurer Peter Quill join hands to fight a villain named Ronan
the Accuser who wants to control the universe with the help of
a mystical orb."
}
]
function searchmovie()
{
let movieName = document.getElementById('search').value;
if(movieName!=="")
{
if(result.length==0)
{
displayMovies(result);
}
else
{
displayMovies(movies);
}
function displayMovies(data)
{
document.getElementById("movies").innerHTML="";
for(let i=0;i<data.length;i++)
{
htmlString=htmlString+`
<div class="movie">
<div class="overlay">
<div class="video">
</div>
<div class="details">
<h1>${data[i].name}</h1>
<h2>IMDB : ${data[i].rating}</h2>
<p>${data[i].description}</p>
</div>
</div>
<img class="poster" src="${data[i].poster}"
alt="poster">
</div>
`
}
console.log(htmlString);
document.getElementById("movies").innerHTML=htmlString;
displayMovies(movies);
SNAP-SHOTS
HEADER :
MAIN PAGE :
FOOTER :
SEARCH BAR :
DESCRIPTION , RATINGS :
HARDWARE AND SOFTWARE REQUIREMENTS
Hardware Requirements:
Software Requirements:
1. www.google.com
2. www.wikipedia.com
3. www.javapoint.com
4. www.letsupgrade.com
5. www.github.com
CONCLUSION