Hotstar Clone Using HTML CSS and Bootstrap Notes
Hotstar Clone Using HTML CSS and Bootstrap Notes
Hotstar Clone Using HTML CSS and Bootstrap Notes
COMPONENTS OF
A WEBSITE
What will be be learning
DevTown| Shaurya Sinha
DevTown| Shaurya Sinha
DevTown| Shaurya Sinha
DevTown| Shaurya Sinha
CREATED IN JUST 10
DAYS
DevTown| Shaurya Sinha
Vs
Javascript
DevTown| Shaurya Sinha
Paragraph
Content
09
DevTown| Shaurya Sinha
Content
DevTown| Shaurya Sinha
element 1
->
->
of
pa
ild
re
nt
ch
to
->
->
element 2 element 3
<- siblings ->
DevTown| Shaurya Sinha
element 1
element 2 element 3
element 4 element 5
element 6 element 7
DevTown| Shaurya Sinha
<div>
<h1> <p>
DevTown| Shaurya Sinha
another element !
DevTown| Shaurya Sinha
<div>
<h1> Title </h1>
</div>
DevTown| Shaurya Sinha
<div> <div>
<h1> Title </h1>
<p> Paragraph. </p>
<h1> <p>
</div>
7 DAYS LONG LIVE CLASSES
Discussion Points
DevTown| Shaurya Sinha
Helpful
Resources
if you get stuck there is no harm in going
back and watching any of these videos.
We encourage you to use outside
resources as well. You can always refer to
the MDN references or your favourite
search engine to get unstuck.
<body>
<h1> <div>
Content
<p> <p>
Content Content
DevTown| Shaurya Sinha
Ruleset
selector div {
text-align: right ; Declaration
Block
}
09
ShapeAI | Shaurya Sinha
H1 to green !!!
For this problem statement, you have to do is type out
the CSS to change Title to Green.
7 DAYS LONG LIVE CLASSES
.book-summary { #site-description {
text-align: right text-align: right
; ;
} }
DevTown | Shaurya Sinha
Developer
Tools
Lets explore the web page
miles
feet
LENGTH
centimeters meters
miles
feet
PIXEL/PERCENTAGE
centimeters meters
ABSOLUTE
8 meters
RELATIVE
2 cars wide
DevTown | Shaurya Sinha
Absolute Relative
.book-summary { .site-description {
width: 400px ; width: 40% ;
} }
DevTown | Shaurya Sinha
Absolute Relative
px %
m em
in m vw
cm vh
DevTown | Shaurya Sinha
em vw
Relative
Units vh %
10
DevTown | Shaurya Sinha
px in
Absolute
Units cm mm
Centimetres Millimetre
10
ShapeAI | Shaurya Sinha
CSS color
Discussion Points
7 DAYS LONG LIVE CLASSES
X X
ShapeAI | Shaurya Sinha
04
ShapeAI | Shaurya Sinha
04
ShapeAI | Shaurya Sinha
04
ShapeAI | Shaurya Sinha
04
ShapeAI | Shaurya Sinha
Stylesheet
What if you wanted to use
the same CSS on more than
one webpage
13
7 DAYS LONG LIVE CLASSES
X X
7 DAYS LONG LIVE CLASSES
X X
ShapeAI | Shaurya Sinha
CODE
What are We
doing up till TEST
now?
REFINE
06
7 DAYS LONG LIVE CLASSES
X X