Web Developmen1
Web Developmen1
DATE: 13TH
MARCH
When you put on application online, fir anyone in the internet to access.
1. The internet
2. The web
The INTERNET
Fibre optic =
The WEB
devices to communicate
WEBDEVEL
OPLEMT
Protocols
INTERNET
PROTOCOLS
TCP/IP
SMTP
PPP
SFTP
HTTPS
FTP
HTTP
TELNET
UI DEVELOPMENT
HTML,CSS, JAVASCRPIT
o Cern = eu resreach
o Css – deigning
TH
DATE: 17 MARCH
2024
Library – koi aru le usle tyo problem solve to make lib,(source of code)
Load kasre huncha – request response lifecycle. Sever bata information access garna
request.
Then server check the request authentic request or not (.HTML/CSS/JS = bunden).
3-tier architecture
IP
Babal.host – Nepal ko
Front-end /Backend/Database.
v. Team Lead
The browswr
HTML
the web.
Hyper text
It’s basically text that support internal link or external page of documents
Mark up
Mark up is special syntax that uses marks to denote and identify pieces of
HTML
Tags
Html tags are special marker enclosed with <>(angle bracket) that mark the structure
of the application.
Rules of HTML.
1. <>
5. Tags can never be overlapped. <a > <b> overlap hudaina<b> < /a>. <a> <b> hunu
hudaina</b> </a>
Basic HTML tags for this ! enter garyo bahne sabai aaucha
<!DOCTYPE html>
<html> </html>
<Head> </head>
<Title> </title>
<Body> </body>
<H1> -- Large
<H2> </H2>
<H3> </H3>
<H4>
H5
H6> small
<p> </p>
<br> *
1. Ordered<ol> (1,2,3, a, b, c)
W3 SCHOOLS
Hyper media
Img ma link
<video>/< source>
Two link
Dot .
Dot.dot - ../index.html
<!-- selector
rules
properties -->
<!-- internal stylesheet -->
H1 = slectiors
Rules = {}
INLINE
</body>
</html> -->
Internal
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>Document</title>
<!-- selector
rules
properties -->
<!-- internal stylesheet -->
<style>
h1{
color: rebeccapurple;
font-size: 14px;
}
p{
color: red;
font-size: 16px;
}
</style>
</head>
<body>
<h1>Now we are studying css </h1>
<p>HELLO</p>
<p>HI</p>
<p>BYE BYE</p>
<hr/>
</body>
</html>
EXTERNAL
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS CLASS </title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?
family=Cedarville+Cursive&display=swap" rel="stylesheet"/>
</head>
<body>
<h1> HELLO WORLD</h1>
<p> Welcome to class of css </p>
</body>
<p>
body{
background-color: black;
}
h1 {
color: powderblue;
font-size: 30px;
background-color: purple;
}
p{
color :blueviolet;
font-size: 34px;
text-decoration: underline;
font-weight: bold;
font-style:italic;
/* font-family: monosapce; */
font-family: "Cedarville Cursive";
/* font-family: sans; */
}
BASIS CSS PROPERTIES
Color
Background-color
Font-family
Font-size- pixels -
Font-weight
Text-align
Test-decoration
Text-transformation
Text-
Color
#ff0000;
Red
00ff00
Green
0000ff
Ffooff
body{
background-color: black;
for overall background color
fonts.google
import garni
serif
sans
sans-serif
monospace-coding font
fonts.google
import garni
embedded garni
code copy
css,html ma
garni
double ma “”
Font-weight = normal
Font-weight = thin
Font-weight = bold
Font-weight = 100;
TEXT ALIGH:
CENTER
LEFT
Right
text-align: center;
TEXT-DECORATION
UNDERLINE OR OVERLINE
text-decoration: underline;
TEXT-TRANSFORM
text-transform: uppercase;
all world in CAPITAL
LINE-HEIGHT
Paragraph spacing = 2 – line distance
Text-align: justify
BORDERS
Border -style
Border-width
Border –
color
MISC PROPERTIES
CURSOR
cursor:pointer;
options
grabbing
not allowed
VISUAL EFFECTS
box-shadow
text-show
SELECTIVE STYSLUNG USING CLASSES
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel = "stylesheet" href ="boxshadow.css"/>
</head>
<body>
<p>
My name is Sweta Sharma
</p>
</body>
</html>
CSS
p {
box-shadow : 2px 2px 2px 2px grey;
text-shadow: 2px 2px rgba(122, 98, 98, 0.618);
}
IMPORTANT
Inline
In-line” – these element take the smallest possible space onside their line.
Block Elements;
These elements take up whole line, even when there is minimal content minia. Takes at least
Block – hello
Heading
List
Paragraph
Video
DIV
Div defines a section in the document. It does not have specific purpose other than
labeling things.
It is a block section.
<div>
Sweta
</div>
<div>
Sweta Sharma
</div>
</head>
<body>
<div class = "name" > Sweta <span class = "golden">sharma </span> Show </div>
</p>
</body>
</html>
BOX MODEL
The most importanct css topic in the histoy of important CSS topics
BOX MODEL
PADDING
BORDER
FLEX BOX,
.flex{
display: flex;
padding: 6px;
justify-content: center;
border: 1px solid rsybrown;
height: 100px;
align-items: center;
.flex{
display: flex;
/* padding: 6px;
justify-content: center;
border: 1px solid rsybrown;
height: 100px;
align-items: center; */
flex-direction: column;
align-items:Center;
two options
Horzintal-size
Gap
Vw- viewpoibt
Vh- viewheught
HERO-EYECATCHING PART
JAVASCRIPT
// console.log(5>4)
// console.log(4===4)
// console.log(5 !== 4)
if(stock >= 1 && age>= 19 && ashutosh && paisa > 190 ){
console.log("Your order is ready!")
}
else{
console.log("Not available")
}
Organze garn
Document tree
const students = {
sweta: 'sweta.@gmail.'
}
{
name: "div",
children:[
{name:"p", children: []},
{ name:"p", children: []}
]
} ,
{ name:'script', children:[]}
]
}
]
}
console.log(document)
yesma stor ehuncha mati ko
console.log(window)
User ko feedback – for example buttom ma click garyo bhane tyo event.
Achromous activities
INNER HTML, INER TEXT—html ko code, hamile js bata change garni lai