Front End Roadmap
Front End Roadmap
1.INFORMATION
2. PRESENTATION
3. FUNCTIONALITY
WHAT IS HTML ?
(INFORMATION)
HTML
WHAT IS CSS ?
(PRESENTATION)
CSS
WHAT IS JS ?
(FUNCTIONALITY)
HOW WE CREATE
We Create WEBPAGES ?
Webpages using HTML
DOCUMENT
TOOLS USED TO CREATE A
FRONT END PART OF WEBSITE
• VS Code
• Sublime
• Notepad
BASIC STRUCTURE OF HTML
<!DOCTYPE
<html> html
> <head>
<title> </title>
</head>
<body>
</body>
</html>
WHAT IS DOCTYPE IN
HTML?
• <!DOCTYPE html>
Syntax: name="value“
Example: href
src (source)
class
alt
ANCHOR TAG
The <a> tag defines a hyperlink,
which is used to link from one page
to another
It can also redirects the page to
another website
<a href=“url address”>
Link</a>
IMAGE TAG
The <img/> tag is used to embed an
image in an
HTML page
<ul style="list-style-type:
square;">
<li> Content </li>
<li> Content </li>
</ul>
STRUCTURE OF ORDERED
LIST
<ol>
<li> Content </li>
<li> Content </li>
</ol>
<ol type=“1”>
<li> Content </li>
<li> Content </li>
</ol>
<ol start=“40”>
<tr>
<td>Raghuveer</td>
<td>Eluru</td>
<td>Sir C R Reddy</td>
</tr>
<tr>
<td>Srivastav</td>
<td>Vijayawada</td>
<td>KL University</td>
</tr>
</table>
VIDEO TAG
Video Tag is used to Display
Video in Your Web Page
Syntax:
<video>
<source src=“path address”
type=“video/format” />
</video>
AUDIO TAG
Audio Tag is used to play audio
in Your Web Page
Syntax:
<audio>
<source src=“path address”
type=“audio/format” />
</audio>
Syntax:
TYPES OF INPUTS
• text
• number
• checkbox
• date
• email
• file
• password
• radio
• button
• reset
TYPES OF INPUTS
Syntax:
Syntax:
<form>
<input/>
<input/>
INTRODUCTION TO CSS
• CSS stands for Cascading Style
Sheets
Example :
h1 {
color: red;
text-align: center;
}
TYPES OF CSS
• Internal CSS
• External CSS
• Inline CSS
HOW TO WRITE INTERNAL
CSS
The internal style is defined inside the <style>
element, inside the head section
Example:
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: linen;
}
h1 {
color: maroon;
margin-left: 40px;
}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
HOW TO CREATE EXTERNAL
CSS
An external style sheet can be
written in any text editor, and
must be saved with a .css
extension
Syntax :
HOW TO WRITE INLINE CSS
• An inline style may be used to apply a
unique style for a single element.
<body>
syntax:
.yourprefferredname {
color: red;
font-size: 30px;
}
ID ATTRIBUTE (HTML)
• The HTML id attribute is used to
specify a unique id for an HTML
element.
• You cannot have more than one
element with the same id in an
HTML document.
Syntax:
Syntax:
#yourprefferredname {
color: red;
font-size: 30px;
}
#yourprefferredname2 {
color: red;
font-size: 30px;
CONTAINER ELEMENT (DIV)
• The <div> tag defines a division
or a section in an HTML document.
<div>
<h1> Hi Guys </h1>
<p> How are you ? </p>
<button> Click Here
</button>
</div>
IMPORTANT CSS
PROPERTIES
font-style
font-size
font-weight
font-family
text-decoration
height
border width
border-width
background-image
border-color border-
radius margin
color
padding
IMPORTANT CSS
PROPERTIES
Syntax:
font-style: normal;
italic;
oblique;
font-weight: bold;
100 to
1000;
IMPORTANT CSS
PROPERTIES
Syntax:
text-decoration: underline;
overline;
line-through;
border: solid;
dashed;
dotted;
IMPORTANT CSS
PROPERTIES
Syntax:
border-width: 0px;
2px;
border-color: red;
green;
IMPORTANT CSS
PROPERTIES
Syntax:
border-radius: 0px;
10px;
color: red;
green;
IMPORTANT CSS
PROPERTIES
Syntax:
background-color: red;
green;
cursor: pointer;
move;
crosshair;
IMPORTANT CSS
PROPERTIES
Syntax:
font-size: 10px;
50px;
height: 100px;
50%;
IMPORTANT CSS
PROPERTIES
Syntax:
width: 100px;
50%;
background-image: url(‘link
address’);
background-size: cover;
IMPORTANT CSS
PROPERTIES
Syntax:
margin: 10px;
5%;
padding: 10px;
5%;
IMPORTANT CSS
PROPERTIES
Syntax:
font-family: ‘Roboto’;
::first-letter
::first-line
::before
::after
::selection
PSUEDO CLASSES
A pseudo-class is used to define a
special state of an element.
Selector:pseudo-classname {
property:value;
}
:hover
:link
:active
:focus
CSS FLOAT
The float property is used for
positioning and formatting content
e.g. let an image float left to the
text in a container.
Syntax:
display: none;
display: inline;
display: block;
CSS GRID
The CSS Grid Layout Module offers a grid-
based layout system, with rows and columns,
making it easier to design web pages
without having to use floats and
positioning
Syntax:
display: grid; or display:inline-grid;
• @keyframes
• animation-name
• animation-duration
• animation-delay
• animation-iteration-count
• animation-direction
• animation-timing-function
CSS ANIMATIONS
@keyframes Rule
• When you specify CSS styles
inside the @keyframes rule, the
animation will gradually change
from the current style to the
new style at certain times.
• To get an animation to work,
you must bind the animation to
an element
CSS ANIMATIONS
animation-name:
animation-delay:
animation-iteration-count:
• The animation-iteration-
count property specifies the
number of times an animation
should run
CSS ANIMATIONS
animation-direction:
Example:
Navbar, Buttons, Backgrounds
Introduction to Flexbox:
The main purpose of this Flexbox is
FLEXBOX PROPERTIES
• Flexbox Container
• Direction
• Justify Content
• Align Items
• Align Self
• Wrap
• Order
• Align Content e.t.c..,
FLEXBOX CONTAINER
Container:
As we all know Container is a div
Element which has a class name
container. The main purpose of
container is to hold the Rows &
Columns
12 COLUMN LAYOUT SYSTEM
Row:
A Row is also a div Element which has
a class name Row. The main purpose of
Row is to group all the Columns
<div class=“container”>
<div class=“row”>
</div>
</div>
12 COLUMN LAYOUT SYSTEM
Column:
A Column is also a div Element which has
a class name col-*. Inside the column we
write/place our content
0 0
1 0.25 x Spacer
2 0.5 x Spacer
3 1 x Spacer
4 1.5 x Spacer
5 3 x Spacer
MARGIN PREFIXES IN
BOOTSTRAP
margin : m-*
1. Linear Gradient
2. Radial Gradient
Width Values:
w-25 (25%)
w-50 (50%)
w-75 (75%)
w-100 (100%)
SHADOW PREFIXES IN
BOOTSTRAP
shadow-none
shadow-sm
shadow
shadow-lg
ORDER CLASS IN
BOOTSTRAP
Order is used to change the visual
order of items contained in Flex
Container
Example:
order-1
order-2
order-3 e.t.c…,