This document provides an overview of a front-end web development bootcamp. It introduces the speakers and covers topics including HTML, CSS, JavaScript, and frameworks. The speakers demonstrate HTML tags, CSS properties and selectors, color values, Flexbox, and JavaScript basics like variables, functions, and APIs. They encourage participants to ask questions and discuss next steps in full-stack web development.
9. Text formatting tags:
Heading Element:-
There are six heading elements
ex: <h1>,<h2>,<h3>,<h4>, <h5>,<h6>
Paragraph Element:-
<p>This is a paragraph</p>
10. HTML <div> tag and <span> tag:
The <div> tag defines a division or a section in an HTML
document.
The <span> tag is used to mark up a part of a text, or a part of a
document.
16. What is CSS?
Cascading Style Sheet
It allows you to add “style” to an HTML (web page) element
ex: color, size, or positioning information
17. <body>
<h1 style="align:center;">This
is a heading</h1>
<p style="color:red;">This is a
paragraph.</p>
</body>
<head>
<style>
h1{
margin-left: 40px;
}
</style>
</head>
<body>
<h1>H1 heading</h1>
</body>
<head>
<link rel="stylesheet"
href="mystyle.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
Inline Internal External
3 CSS definition locations
18. A question:
how does the browser know which HTML
element on the webpage this declaration
applies to?
19. ● Selector
- What HTML sections does it affect?
● Property
- What attribute of that HTML section will be affected?
● Value
- What change will be made to that attribute?
SYNTAX
3 Elements to a CSS Statement
20. p {
font-size: 10px;
font-color: White;
}
<p>Content</p>
.myclass {
font-size: 10px;
font-color: White;
}
<p class=“myclass”>Hey
</p>
#para1 {
font-size: 10px;
font-color: White;
}
<p id=“para1”>Hey</p>
* {
font-size: 10px;
font-color: White;
}
<p>Every element
will be selected</p>
Types of Selectors
HTML Tag Class Attribute Id Selector Universal Selector
21.
22. Tomato
Hex: #ff6347
Rgb: rgb(255,99,71)
Hsl: hsl(9,100%,64%)
Aqua
Hex: #00ffff
Rgb: rgb(0,255,255)
Hsl: hsl(180%, 100%, 50%)
Colors in CSS
Colors are specified using predefined color names, or
RGB, HEX, HSL, RGBA, HSLA values.