SlideShare ist ein Scribd-Unternehmen logo
Kalpak Goshikwar
Web Dev Lead @GDSC GHRCE
Swarnim Chandve
Web Dev Volunteer @GDSC
GHRCE
What is WEB
DEVELOPMENT ?
G.H. Raisoni College of Engineering, Nagpur
● Web: It refers to websites, web pages or anything that
works over the internet.
● Development: It refers to building the application from
scratch.
● Web development refers to the creating, building, and
maintaining of websites. It includes aspects such as web
design, web publishing, web programming, and database
management.
G.H. Raisoni College of Engineering, Nagpur
Why to learn Web
Development ?
● Most Easy to get into
● Endless Job Opportunities
● Diverse Learning Opportunities
● The part of a website where the user interacts directly is
termed as front end.
● It is also referred to as the ‘client side’ of the application.
● Frontend Roadmap : https://roadmap.sh/frontend
● Technologies Required : HTML , CSS , Javascript,
AngularJS, ReactJS
Frontend Development
Backend Development
● Backend is the server side of a website. It is part of the
website that users cannot see and interact with. It is used
to store and arrange data.
● Backend Roadmap : https://roadmap.sh/backend
● Technologies Required : NodeJS , ExpressJS , JAVA,
SPRING
Databases
● Data is the foundation of a web application.
● It is used to store user information, session data, and other
application data.
● The primary purpose of a database is to store, retrieve, and
update information.
● Cassandra(Non-Relational)
● Neo4j (Graph database)
● MariaDB (Relational)
● MySQL (Relational)
● PostgreSQL (Relational)
● MongoDB
(Non-Relational)
Popular Databases
Introduction to HTML,
CSS and JS
G.H. Raisoni College of Engineering, Nagpur
G.H. Raisoni College of Engineering, Nagpur
What is HTML?
● HTML stands for Hypertext Markup Language.
● It is used to provide structure to a web page.
● Hypertext - links that connect web pages to each other.
● It is a Markup language.
G.H. Raisoni College of Engineering, Nagpur
Setup
G.H. Raisoni College of Engineering, Nagpur
Elements and tags
● An HTML element is defined by a start tag, some content, and an
end tag.
● <tagname> content </tagname>
● Eg: <h1>Page Heading</h1>
● Some HTML elements have no content like <br> tag.
G.H. Raisoni College of Engineering, Nagpur
Simple HTML Code
G.H. Raisoni College of Engineering, Nagpur
<head> tag
● Used to provide metadata for a webpage.
● Typically includes title of the webpage, styles, scripts, etc.
G.H. Raisoni College of Engineering, Nagpur
<body> tag
● Defines the contents of an HTML page.
● Headings, paragraphs, images, etc.
G.H. Raisoni College of Engineering, Nagpur
Heading tags
● Heading tags are used to display titles and subtitles on a
webpage.
● The tags range from <h1> to <h6> with <h1> being the largest size
for heading and <h6> smallest.
Heading tags
<p> tag
● The <p> tag defines a paragraph.
● Eg:
<strong> tag
● The <strong> tag is used to define text with strong importance.
● The contents inside strong tags are displayed in bold.
● Eg:
<em> tag
● The <em> tag is used to define emphasized text
● The contents inside strong tags are displayed in italic.
● Eg:
<u> tag
● The <u> tag stands for underline.
● Used to add underline to the text.
● Eg:
G.H. Raisoni College of Engineering, Nagpur
Some more Text Formatting Tags:
● <mark> - Highlighted Text
● <small> - Small Text
● <sub> - Subscript Text
● <sup> - Superscript Text
● <code> - Used for displaying a lines of code.
Attributes in HTML
● Attributes provide additional information about elements
● Specified in the start tag
● Syntax: attribute_name=”value”
● Eg:
G.H. Raisoni College of Engineering, Nagpur
List Tags in HTML
● List tags are used to group a set of related data.
● There are two types of lists ordered list and unordered list.
● Ordered list is defined using <ol> tag.
● Unordered list is defined using <ul> tag.
● <li> tag is used to define a list item.
<ol> tag
● <ol> tag defines an ordered list.
<ol> tag
<ul> tag
● <ul> tag defines an unordered list.
<img> tag
● The <img> tag is used to embed an image in an HTML page.
<a> tag
● The <a> tag defines a hyperlink, which is used to link from one page to
another.
G.H. Raisoni College of Engineering, Nagpur
<form> tag
● The <form> tag is used to create an HTML form for user input.
● Methods:
○ get: Adds data to URL
○ post: Used to post/ send form data to a server.
G.H. Raisoni College of Engineering, Nagpur
Semantic tags
● Used to describe the webpage to a browser.
● Some of the semantic tags are:
➔ <header>
➔ <main>
➔ <footer>
➔ <nav>
➔ <div>
➔ <section>
G.H. Raisoni College of Engineering, Nagpur
Learn more about HTML on:
1. W3Schools
2. MDN Web Docs
● CSS stands for Cascading Style sheets.
● CSS is used to style an HTML document.
● You can alter the font, color, size, and spacing of your
content or add animations and other decorative
features using CSS.
G.H. Raisoni College of Engineering, Nagpur
CSS
Selector {
property : value;
}
G.H. Raisoni College of Engineering, Nagpur
Syntax
● Inline CSS
● Internal(or Embedded) CSS
● External CSS
G.H. Raisoni College of Engineering, Nagpur
Different ways to Write CSS
Element Selector
G.H. Raisoni College of Engineering, Nagpur
CSS Selectors
Class Selector
G.H. Raisoni College of Engineering, Nagpur
CSS Selectors
ID Selector
G.H. Raisoni College of Engineering, Nagpur
CSS Selectors
G.H. Raisoni College of Engineering, Nagpur
Box Model
1. Content The innermost part of the box that contains the actual
content, such as text, images, etc.
The space between the content and the
element's border. It is specified using the
padding property.
2. Padding
3. Border A border surrounding the padding. It is specified using
the border property.
The space outside the border, creating a gap between
the element's border and adjacent elements. It is
specified using the margin property.
4. Margin
Font Size using px
G.H. Raisoni College of Engineering, Nagpur
Styling Text
● Sets the font size defined by
the browser.
● The default size set by
browser is 16px.
● So, 1em = 16px, 2em = 32px
and so on.
G.H. Raisoni College of Engineering, Nagpur
Font Size using em
Background Color
Styling Backgrounds
Styling Backgrounds
Background image
G.H. Raisoni College of Engineering, Nagpur
Flexbox
● Flexbox is a flexible container,
used to create responsive
layouts.
G.H. Raisoni College of Engineering, Nagpur
Grid
● It is used to convert a layout
into rows and columns.
G.H. Raisoni College of Engineering, Nagpur
Media Queries
● A Media query in CSS is used
to create a responsive web
design.
● They work similar to if
statements.
G.H. Raisoni College of Engineering, Nagpur
Transitions
● Transitions allow you to
smoothly change the
property values of an
element over a specified
duration.
G.H. Raisoni College of Engineering, Nagpur
Animations
● Animations provide more
control over intermediate
states and timing.
G.H. Raisoni College of Engineering, Nagpur
More CSS:
1. W3Schools
2. MDN Web Docs
G.H. Raisoni College of Engineering, Nagpur
● Javascript is the scripting language for web pages.
● It is one of most popular programming language.
● It is a dynamically typed.
● Can be used for client-side as well as server-side.
Javascript
G.H. Raisoni College of Engineering, Nagpur
“Any application that can be written in JavaScript,
will eventually be written in JavaScript.”
G.H. Raisoni College of Engineering, Nagpur
● To make your website dynamic.
● To make it reactive.
● To integrate APIs.
Why use Javascript?
G.H. Raisoni College of Engineering, Nagpur
● JavaScript Variables can be declared-
○ using let
○ using const
Variables
G.H. Raisoni College of Engineering, Nagpur
● Mutable Variables
● Variables are block scoped meaning
they are only accessible within a
block.
Using ‘let’:
G.H. Raisoni College of Engineering, Nagpur
● Immutable Variables
● Once assigned the value cannot be
changed.
Using ‘const’:
G.H. Raisoni College of Engineering, Nagpur
● Data types in javascript are-
○ String
○ Number
○ Boolean
○ Null
○ Object
○ Array
Data types
G.H. Raisoni College of Engineering, Nagpur
● String.length
● string.slice(0, 5)
● string.toLowerCase()
● string.toUpperCase()
● string.split(“ “)
String functions
G.H. Raisoni College of Engineering, Nagpur
● array.length
● array.push(value)
● array.pop()
● array.toString()
● array.map()
Array functions
Conditional Statements
If statement:
● If (condition) {
// code to be executed if condition
is true
}
Conditional Statements
If-else statement:
● If (condition) {
// code to be executed if condition
is true
} else {
// code to be executed when
condition is false
}
Conditional Statements
Ternary Operator:
(condition) ? //code executed if condition is true : //code
executed if condition is false
Conditional Statements
Switch Statement:
● switch(expression) {
case x:
// code block
break;
default:
// code block
}
Loops
‘for’ loop:
for (condition) {
// code executed till the condition is true.
}
Loops
‘while’ loop:
While (condition) {
// code executed till the condition is true.
}
Functions
● Syntax:
Arrow Functions
● Compact alternative to traditional functions:
● Syntax:
G.H. Raisoni College of Engineering, Nagpur
● DOM stands for Document Object Model.
● DOM is created when a page loads.
● With DOM manipulation we can create a dynamic
web page.
● React to different events.
● HTML DOM model is constructed as a tree of Objects.
DOM Manipulations
G.H. Raisoni College of Engineering, Nagpur
● Events are things that happen on the webpage.
● For example, when a button is clicked, form is
submitted, etc.
● Javascript can react to these events.
● HTML allows event handler attributes, with JavaScript
code, to be added to HTML elements.
Events and Event Handlers
Common HTML Events
Reference: https://www.w3schools.com/js/js_events.asp
G.H. Raisoni College of Engineering, Nagpur
● Introduced in ES6 version of javascript.
● They are a object oriented programming concept.
● Classes are templates for objects.
● Defined using “class” keyword.
Classes in Javascript
G.H. Raisoni College of Engineering, Nagpur
● Async and Await are used to run js asynchronously.
● Async returns a promise.
● Await makes a function wait till the promise is
resolved.
Async and Await (Advanced)
More JavaScript:
1. W3Schools
2. MDN Web Docs
Thank You :)
GDSC GHRCE
Rohit Pandilwar
Web Dev Co-Lead @GDSC GHRCE
Map of the journey:
2 4
1 3 5
6
HTML and CSS
Fundamentals
JavaScript Essentials
Front-end Frameworks
Back-end Frameworks
Databases
Deployment and
Hosting
Angular Unleashed
G.H. Raisoni College of Engineering, Nagpur
Aspects of Web Development :
Front-End Development Back-End Development
What is Framework?
Developer without framework Developer with framework
A framework provides essential pre-built tools and libraries needed for development.
Front-end Frameworks
Commonly used frameworks/ libraries:
○ Angularjs
○ Reactjs
○ Bootstrap and many more
A Glance at Typescript :
What is TypeScript?
● TypeScript is a superset of JavaScript.
● It adds optional static typing and other
features to enhance JavaScript
development.
Key Features:
• Static Typing: Catch errors during development.
• Modern ECMAScript Features: Supports the latest
JavaScript features.
• Tooling Support: Strong integration with editors and
IDEs.
• Readability: Enhances code readability and
maintainability.
Why TypeScript?
• Early Error Detection: Find bugs before
runtime.
• Enhanced Productivity: Better development
experience.
• Scalability: Ideal for large codebases.
How to Use:
Install TypeScript: “npm install -g typescript”
Create a TypeScript file: “example.ts”
Compile to JavaScript: “tsc example.ts”
Understanding Angular
● Angular is a open-source web application framework maintained by
Google and a community of developers.
● Angular is written in TypeScript.
● Angular provides a structured approach to web development by
incorporating a set of tools, libraries, and best practices.
● Angular makes web development easy with components generation.
Setup and Installation
CLI
● Search Node.js on Google
● Download Node.js from official website
● Run Node.js exe file.
● Open CMD
● Run “npm install -g @angular/cli”
● Run “ng version” command after
installation.
Creating New Angular Project
● Open new terminal
● Run “ng new your-project-name”
● Enter directory using “cd your-project-name”
● Run “ng serve --open”
Project Structure
Components
● Components are the building
blocks of an Angular project.
● Components provide reusability.
● Run “ng generate component <component-name>” to create a new component.
● Import the component wherever, you want to use it.
Components
ngFor
● Used for rendering a set of
elements for each item in a
collection (array or iterable).
ngIf
● Used for conditionally rendering an
element based on a given
expression or condition.
Routing
● Angular uses the “RouterModule” to set up and configure the routing in an
application.
● The “Routes” type is used to define the routes in an Angular application.
● “RouterOutlet” is a directive used in the template to mark the area where the
routed component will be displayed.
● “RouterLink” is a directive used to create links that navigate to a specific route
when clicked.
Heading towards project
@Input() Property
● Inputs allow components to share data from parent to child component.
Parent Component Child Component
Data Flow
Services
● Services in Angular are a way to organize and share code across
components.
● used for tasks such as data fetching, business logic, or communication
between components.
● Two key elements are : Singleton Instances & Injection Dependency.
Injection
● Facilitates Loose Coupling and Reusability.
● hierarchical injection system ensures that each component receives the
appropriate instance of the service.
Forms
● Used to handle User Input.
Learn More With
Angular Docs
Thank You :)
GDSC GHRCE
Follow us:
Kalpak Goshikwar
Web Dev Lead @GDSC GHRCE
Introduction to
Firebase
G.H. Raisoni College of Engineering, Nagpur
Backend
Reference: MDN Web Docs
G.H. Raisoni College of Engineering, Nagpur
Firebase
● Firebase is a Backend-as-a-Service(BaaS).
● It is a suite of tools for building apps on top of Google
Cloud Platform.
● It has three main services, i.e., a real-time database, user
authentication, and hosting.
Tools
Authentication Functions
Firestore
Tools
Cloud Storage Firebase
ML
Hosting
G.H. Raisoni College of Engineering, Nagpur
Installing firebase CLI tools
● To install firebase CLI, run the following command:
npm install -g firebase-tools
● Then run,
firebase login
To connect firebase CLI to your account.
G.H. Raisoni College of Engineering, Nagpur
Integrating firebase with Angular
● To add firebase to your angular app, run command:
ng add @angular/fire
G.H. Raisoni College of Engineering, Nagpur
Firebase Auth
● Firebase Authentication provides backend services to
authenticate users to your app.
● It supports authentication using passwords, phone
numbers, popular federated identity providers like
Google, Facebook and Twitter, and more.
G.H. Raisoni College of Engineering, Nagpur
Firestore
● It is a NoSQL database.
● Hosted on cloud.
● Easily accessible.
● Data is stored in JSON format.
G.H. Raisoni College of Engineering, Nagpur
Firestore
Collection
Collection
Document
Document
Document
Document
Document
G.H. Raisoni College of Engineering, Nagpur
Firestore Security Rules
● Used to control access to data.
● By default, firestore denies access to all third-party users.
● Can be made as complex as you want.
G.H. Raisoni College of Engineering, Nagpur
Add Data to firestore
● To add data to firestore setDoc() method is used.
● This method will update the document if it already exists.
G.H. Raisoni College of Engineering, Nagpur
Retrieve data from Firestore
● getDoc() function is used to retrieve a single document
from firestore.
● To retrieve the entire collection we use getDocs()
function.
G.H. Raisoni College of Engineering, Nagpur
Cloud Storage
● Cloud storage in firebase is used to store and serve
user-generated content, such as photos or videos.
● It can perform uploads and downloads regardless of
network quality.
● Files are stored in Google cloud storage Bucket.
G.H. Raisoni College of Engineering, Nagpur
Hosting
● Firebase Hosting provides fast and secure hosting for
your web app.
● All content is served over an SSL connection from the
closest edge server on our global CDN.
● Also, supports github integration.
G.H. Raisoni College of Engineering, Nagpur
Deploy your Angular project
● First use the command:
firebase experiments:enable webframeworks
● Then, run:
Firebase init hosting
● And, finally run:
firebase deploy
G.H. Raisoni College of Engineering, Nagpur
Want to learn More?
Refer to: Firebase Docs
Thank You :)
GDSC GHRCE

Weitere ähnliche Inhalte

Ähnlich wie Solution Challenge GDSC GHRCE WEB DEVELOPMENT.pdf

Sharable of qualities of clean code
Sharable of qualities of clean codeSharable of qualities of clean code
Sharable of qualities of clean codeEman Mohamed
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptxAlisha Kamat
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptxGDSCVJTI
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptxAlisha Kamat
 
HTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventionsHTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventionsKnoldus Inc.
 
Roadmap to Frontend Development.pdf
Roadmap to Frontend Development.pdfRoadmap to Frontend Development.pdf
Roadmap to Frontend Development.pdfSohan Singh
 
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptxINDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx12KritiGaneriwal
 
Foster - Getting started with Angular
Foster - Getting started with AngularFoster - Getting started with Angular
Foster - Getting started with AngularMukundSonaiya1
 
Angular js 1.3 presentation for fed nov 2014
Angular js 1.3 presentation for fed   nov 2014Angular js 1.3 presentation for fed   nov 2014
Angular js 1.3 presentation for fed nov 2014Sarah Hudson
 
Full stack devlopment using django main ppt
Full stack devlopment using django main pptFull stack devlopment using django main ppt
Full stack devlopment using django main pptSudhanshuVijay3
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptxdsffsdf1
 
JS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGJS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGArulkumar
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...DicodingEvent
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxAliRaza899305
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxKADAMBARIPUROHIT
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSSMario Hernandez
 
Introduction to AngularJS By Bharat Makwana
Introduction to AngularJS By Bharat MakwanaIntroduction to AngularJS By Bharat Makwana
Introduction to AngularJS By Bharat MakwanaBharat Makwana
 
PresentationofINTERship.pdf
PresentationofINTERship.pdfPresentationofINTERship.pdf
PresentationofINTERship.pdfgoldy810082
 

Ähnlich wie Solution Challenge GDSC GHRCE WEB DEVELOPMENT.pdf (20)

Sharable of qualities of clean code
Sharable of qualities of clean codeSharable of qualities of clean code
Sharable of qualities of clean code
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
Introduction to Web Development.pptx
Introduction to Web Development.pptxIntroduction to Web Development.pptx
Introduction to Web Development.pptx
 
HTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventionsHTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventions
 
Roadmap to Frontend Development.pdf
Roadmap to Frontend Development.pdfRoadmap to Frontend Development.pdf
Roadmap to Frontend Development.pdf
 
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptxINDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
 
Foster - Getting started with Angular
Foster - Getting started with AngularFoster - Getting started with Angular
Foster - Getting started with Angular
 
Angular js 1.3 presentation for fed nov 2014
Angular js 1.3 presentation for fed   nov 2014Angular js 1.3 presentation for fed   nov 2014
Angular js 1.3 presentation for fed nov 2014
 
Full stack devlopment using django main ppt
Full stack devlopment using django main pptFull stack devlopment using django main ppt
Full stack devlopment using django main ppt
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptx
 
JS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTINGJS BASICS JAVA SCRIPT SCRIPTING
JS BASICS JAVA SCRIPT SCRIPTING
 
Performance (browser)
Performance (browser)Performance (browser)
Performance (browser)
 
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
Baparekraf Digital Talent Day: Monitoring dan Coaching Penerima Fasilitasi BD...
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
 
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptxIntroduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Introduction to AngularJS By Bharat Makwana
Introduction to AngularJS By Bharat MakwanaIntroduction to AngularJS By Bharat Makwana
Introduction to AngularJS By Bharat Makwana
 
PresentationofINTERship.pdf
PresentationofINTERship.pdfPresentationofINTERship.pdf
PresentationofINTERship.pdf
 
Overview of PHP and MYSQL
Overview of PHP and MYSQLOverview of PHP and MYSQL
Overview of PHP and MYSQL
 

Mehr von GoogleDeveloperStude22

GoogleDSC_ GHRCE_ flutter_firebase.pptx
GoogleDSC_ GHRCE_  flutter_firebase.pptxGoogleDSC_ GHRCE_  flutter_firebase.pptx
GoogleDSC_ GHRCE_ flutter_firebase.pptxGoogleDeveloperStude22
 
Info to Web3 and Blockchain with GDSC X Capx.pptx
Info to Web3 and Blockchain with GDSC X Capx.pptxInfo to Web3 and Blockchain with GDSC X Capx.pptx
Info to Web3 and Blockchain with GDSC X Capx.pptxGoogleDeveloperStude22
 
Solution challenge 2024 GDSC-GHRCE AIML.pptx
Solution challenge 2024 GDSC-GHRCE AIML.pptxSolution challenge 2024 GDSC-GHRCE AIML.pptx
Solution challenge 2024 GDSC-GHRCE AIML.pptxGoogleDeveloperStude22
 
Google Solution Challenge Android Awesomeness.pptx
Google Solution Challenge Android Awesomeness.pptxGoogle Solution Challenge Android Awesomeness.pptx
Google Solution Challenge Android Awesomeness.pptxGoogleDeveloperStude22
 
solution Challenge design and flutter day.pptx
solution Challenge design and flutter day.pptxsolution Challenge design and flutter day.pptx
solution Challenge design and flutter day.pptxGoogleDeveloperStude22
 
Green flag Wrap up Google Solution Challenge.pdf
Green flag Wrap up Google Solution Challenge.pdfGreen flag Wrap up Google Solution Challenge.pdf
Green flag Wrap up Google Solution Challenge.pdfGoogleDeveloperStude22
 

Mehr von GoogleDeveloperStude22 (8)

GoogleDSC_ GHRCE_ flutter_firebase.pptx
GoogleDSC_ GHRCE_  flutter_firebase.pptxGoogleDSC_ GHRCE_  flutter_firebase.pptx
GoogleDSC_ GHRCE_ flutter_firebase.pptx
 
Info to Web3 and Blockchain with GDSC X Capx.pptx
Info to Web3 and Blockchain with GDSC X Capx.pptxInfo to Web3 and Blockchain with GDSC X Capx.pptx
Info to Web3 and Blockchain with GDSC X Capx.pptx
 
Solution challenge 2024 GDSC-GHRCE AIML.pptx
Solution challenge 2024 GDSC-GHRCE AIML.pptxSolution challenge 2024 GDSC-GHRCE AIML.pptx
Solution challenge 2024 GDSC-GHRCE AIML.pptx
 
Google Solution Challenge Android Awesomeness.pptx
Google Solution Challenge Android Awesomeness.pptxGoogle Solution Challenge Android Awesomeness.pptx
Google Solution Challenge Android Awesomeness.pptx
 
solution Challenge design and flutter day.pptx
solution Challenge design and flutter day.pptxsolution Challenge design and flutter day.pptx
solution Challenge design and flutter day.pptx
 
Green flag Wrap up Google Solution Challenge.pdf
Green flag Wrap up Google Solution Challenge.pdfGreen flag Wrap up Google Solution Challenge.pdf
Green flag Wrap up Google Solution Challenge.pdf
 
Figma Lifestyle with GDSC
Figma Lifestyle with GDSCFigma Lifestyle with GDSC
Figma Lifestyle with GDSC
 
GDSC23 - (24-8-23).pptx
GDSC23 - (24-8-23).pptxGDSC23 - (24-8-23).pptx
GDSC23 - (24-8-23).pptx
 

Kürzlich hochgeladen

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Alison B. Lowndes
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaRTTS
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backElena Simperl
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Product School
 

Kürzlich hochgeladen (20)

FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Solution Challenge GDSC GHRCE WEB DEVELOPMENT.pdf

  • 1. Kalpak Goshikwar Web Dev Lead @GDSC GHRCE Swarnim Chandve Web Dev Volunteer @GDSC GHRCE
  • 2. What is WEB DEVELOPMENT ? G.H. Raisoni College of Engineering, Nagpur
  • 3. ● Web: It refers to websites, web pages or anything that works over the internet. ● Development: It refers to building the application from scratch. ● Web development refers to the creating, building, and maintaining of websites. It includes aspects such as web design, web publishing, web programming, and database management. G.H. Raisoni College of Engineering, Nagpur
  • 4. Why to learn Web Development ? ● Most Easy to get into ● Endless Job Opportunities ● Diverse Learning Opportunities
  • 5.
  • 6. ● The part of a website where the user interacts directly is termed as front end. ● It is also referred to as the ‘client side’ of the application. ● Frontend Roadmap : https://roadmap.sh/frontend ● Technologies Required : HTML , CSS , Javascript, AngularJS, ReactJS Frontend Development
  • 7. Backend Development ● Backend is the server side of a website. It is part of the website that users cannot see and interact with. It is used to store and arrange data. ● Backend Roadmap : https://roadmap.sh/backend ● Technologies Required : NodeJS , ExpressJS , JAVA, SPRING
  • 8. Databases ● Data is the foundation of a web application. ● It is used to store user information, session data, and other application data. ● The primary purpose of a database is to store, retrieve, and update information.
  • 9. ● Cassandra(Non-Relational) ● Neo4j (Graph database) ● MariaDB (Relational) ● MySQL (Relational) ● PostgreSQL (Relational) ● MongoDB (Non-Relational) Popular Databases
  • 10. Introduction to HTML, CSS and JS G.H. Raisoni College of Engineering, Nagpur
  • 11. G.H. Raisoni College of Engineering, Nagpur What is HTML? ● HTML stands for Hypertext Markup Language. ● It is used to provide structure to a web page. ● Hypertext - links that connect web pages to each other. ● It is a Markup language.
  • 12. G.H. Raisoni College of Engineering, Nagpur Setup
  • 13. G.H. Raisoni College of Engineering, Nagpur Elements and tags ● An HTML element is defined by a start tag, some content, and an end tag. ● <tagname> content </tagname> ● Eg: <h1>Page Heading</h1> ● Some HTML elements have no content like <br> tag.
  • 14. G.H. Raisoni College of Engineering, Nagpur Simple HTML Code
  • 15. G.H. Raisoni College of Engineering, Nagpur <head> tag ● Used to provide metadata for a webpage. ● Typically includes title of the webpage, styles, scripts, etc.
  • 16. G.H. Raisoni College of Engineering, Nagpur <body> tag ● Defines the contents of an HTML page. ● Headings, paragraphs, images, etc.
  • 17. G.H. Raisoni College of Engineering, Nagpur Heading tags ● Heading tags are used to display titles and subtitles on a webpage. ● The tags range from <h1> to <h6> with <h1> being the largest size for heading and <h6> smallest.
  • 19. <p> tag ● The <p> tag defines a paragraph. ● Eg:
  • 20. <strong> tag ● The <strong> tag is used to define text with strong importance. ● The contents inside strong tags are displayed in bold. ● Eg:
  • 21. <em> tag ● The <em> tag is used to define emphasized text ● The contents inside strong tags are displayed in italic. ● Eg:
  • 22. <u> tag ● The <u> tag stands for underline. ● Used to add underline to the text. ● Eg:
  • 23. G.H. Raisoni College of Engineering, Nagpur Some more Text Formatting Tags: ● <mark> - Highlighted Text ● <small> - Small Text ● <sub> - Subscript Text ● <sup> - Superscript Text ● <code> - Used for displaying a lines of code.
  • 24. Attributes in HTML ● Attributes provide additional information about elements ● Specified in the start tag ● Syntax: attribute_name=”value” ● Eg:
  • 25. G.H. Raisoni College of Engineering, Nagpur List Tags in HTML ● List tags are used to group a set of related data. ● There are two types of lists ordered list and unordered list. ● Ordered list is defined using <ol> tag. ● Unordered list is defined using <ul> tag. ● <li> tag is used to define a list item.
  • 26. <ol> tag ● <ol> tag defines an ordered list.
  • 28. <ul> tag ● <ul> tag defines an unordered list.
  • 29. <img> tag ● The <img> tag is used to embed an image in an HTML page.
  • 30. <a> tag ● The <a> tag defines a hyperlink, which is used to link from one page to another.
  • 31. G.H. Raisoni College of Engineering, Nagpur <form> tag ● The <form> tag is used to create an HTML form for user input. ● Methods: ○ get: Adds data to URL ○ post: Used to post/ send form data to a server.
  • 32. G.H. Raisoni College of Engineering, Nagpur Semantic tags ● Used to describe the webpage to a browser. ● Some of the semantic tags are: ➔ <header> ➔ <main> ➔ <footer> ➔ <nav> ➔ <div> ➔ <section>
  • 33. G.H. Raisoni College of Engineering, Nagpur Learn more about HTML on: 1. W3Schools 2. MDN Web Docs
  • 34. ● CSS stands for Cascading Style sheets. ● CSS is used to style an HTML document. ● You can alter the font, color, size, and spacing of your content or add animations and other decorative features using CSS. G.H. Raisoni College of Engineering, Nagpur CSS
  • 35. Selector { property : value; } G.H. Raisoni College of Engineering, Nagpur Syntax
  • 36. ● Inline CSS ● Internal(or Embedded) CSS ● External CSS G.H. Raisoni College of Engineering, Nagpur Different ways to Write CSS
  • 37. Element Selector G.H. Raisoni College of Engineering, Nagpur CSS Selectors
  • 38. Class Selector G.H. Raisoni College of Engineering, Nagpur CSS Selectors
  • 39. ID Selector G.H. Raisoni College of Engineering, Nagpur CSS Selectors
  • 40. G.H. Raisoni College of Engineering, Nagpur Box Model
  • 41. 1. Content The innermost part of the box that contains the actual content, such as text, images, etc. The space between the content and the element's border. It is specified using the padding property. 2. Padding
  • 42. 3. Border A border surrounding the padding. It is specified using the border property. The space outside the border, creating a gap between the element's border and adjacent elements. It is specified using the margin property. 4. Margin
  • 43. Font Size using px G.H. Raisoni College of Engineering, Nagpur Styling Text
  • 44. ● Sets the font size defined by the browser. ● The default size set by browser is 16px. ● So, 1em = 16px, 2em = 32px and so on. G.H. Raisoni College of Engineering, Nagpur Font Size using em
  • 47. G.H. Raisoni College of Engineering, Nagpur Flexbox ● Flexbox is a flexible container, used to create responsive layouts.
  • 48. G.H. Raisoni College of Engineering, Nagpur Grid ● It is used to convert a layout into rows and columns.
  • 49. G.H. Raisoni College of Engineering, Nagpur Media Queries ● A Media query in CSS is used to create a responsive web design. ● They work similar to if statements.
  • 50. G.H. Raisoni College of Engineering, Nagpur Transitions ● Transitions allow you to smoothly change the property values of an element over a specified duration.
  • 51. G.H. Raisoni College of Engineering, Nagpur Animations ● Animations provide more control over intermediate states and timing.
  • 52. G.H. Raisoni College of Engineering, Nagpur More CSS: 1. W3Schools 2. MDN Web Docs
  • 53. G.H. Raisoni College of Engineering, Nagpur ● Javascript is the scripting language for web pages. ● It is one of most popular programming language. ● It is a dynamically typed. ● Can be used for client-side as well as server-side. Javascript
  • 54. G.H. Raisoni College of Engineering, Nagpur “Any application that can be written in JavaScript, will eventually be written in JavaScript.”
  • 55. G.H. Raisoni College of Engineering, Nagpur ● To make your website dynamic. ● To make it reactive. ● To integrate APIs. Why use Javascript?
  • 56. G.H. Raisoni College of Engineering, Nagpur ● JavaScript Variables can be declared- ○ using let ○ using const Variables
  • 57. G.H. Raisoni College of Engineering, Nagpur ● Mutable Variables ● Variables are block scoped meaning they are only accessible within a block. Using ‘let’:
  • 58. G.H. Raisoni College of Engineering, Nagpur ● Immutable Variables ● Once assigned the value cannot be changed. Using ‘const’:
  • 59. G.H. Raisoni College of Engineering, Nagpur ● Data types in javascript are- ○ String ○ Number ○ Boolean ○ Null ○ Object ○ Array Data types
  • 60. G.H. Raisoni College of Engineering, Nagpur ● String.length ● string.slice(0, 5) ● string.toLowerCase() ● string.toUpperCase() ● string.split(“ “) String functions
  • 61. G.H. Raisoni College of Engineering, Nagpur ● array.length ● array.push(value) ● array.pop() ● array.toString() ● array.map() Array functions
  • 62. Conditional Statements If statement: ● If (condition) { // code to be executed if condition is true }
  • 63. Conditional Statements If-else statement: ● If (condition) { // code to be executed if condition is true } else { // code to be executed when condition is false }
  • 64. Conditional Statements Ternary Operator: (condition) ? //code executed if condition is true : //code executed if condition is false
  • 65. Conditional Statements Switch Statement: ● switch(expression) { case x: // code block break; default: // code block }
  • 66. Loops ‘for’ loop: for (condition) { // code executed till the condition is true. }
  • 67. Loops ‘while’ loop: While (condition) { // code executed till the condition is true. }
  • 69. Arrow Functions ● Compact alternative to traditional functions: ● Syntax:
  • 70. G.H. Raisoni College of Engineering, Nagpur ● DOM stands for Document Object Model. ● DOM is created when a page loads. ● With DOM manipulation we can create a dynamic web page. ● React to different events. ● HTML DOM model is constructed as a tree of Objects. DOM Manipulations
  • 71. G.H. Raisoni College of Engineering, Nagpur ● Events are things that happen on the webpage. ● For example, when a button is clicked, form is submitted, etc. ● Javascript can react to these events. ● HTML allows event handler attributes, with JavaScript code, to be added to HTML elements. Events and Event Handlers
  • 72. Common HTML Events Reference: https://www.w3schools.com/js/js_events.asp
  • 73. G.H. Raisoni College of Engineering, Nagpur ● Introduced in ES6 version of javascript. ● They are a object oriented programming concept. ● Classes are templates for objects. ● Defined using “class” keyword. Classes in Javascript
  • 74. G.H. Raisoni College of Engineering, Nagpur ● Async and Await are used to run js asynchronously. ● Async returns a promise. ● Await makes a function wait till the promise is resolved. Async and Await (Advanced)
  • 77. Rohit Pandilwar Web Dev Co-Lead @GDSC GHRCE
  • 78.
  • 79. Map of the journey: 2 4 1 3 5 6 HTML and CSS Fundamentals JavaScript Essentials Front-end Frameworks Back-end Frameworks Databases Deployment and Hosting
  • 81. G.H. Raisoni College of Engineering, Nagpur Aspects of Web Development : Front-End Development Back-End Development
  • 82. What is Framework? Developer without framework Developer with framework A framework provides essential pre-built tools and libraries needed for development.
  • 83. Front-end Frameworks Commonly used frameworks/ libraries: ○ Angularjs ○ Reactjs ○ Bootstrap and many more
  • 84. A Glance at Typescript : What is TypeScript? ● TypeScript is a superset of JavaScript. ● It adds optional static typing and other features to enhance JavaScript development. Key Features: • Static Typing: Catch errors during development. • Modern ECMAScript Features: Supports the latest JavaScript features. • Tooling Support: Strong integration with editors and IDEs. • Readability: Enhances code readability and maintainability. Why TypeScript? • Early Error Detection: Find bugs before runtime. • Enhanced Productivity: Better development experience. • Scalability: Ideal for large codebases. How to Use: Install TypeScript: “npm install -g typescript” Create a TypeScript file: “example.ts” Compile to JavaScript: “tsc example.ts”
  • 85. Understanding Angular ● Angular is a open-source web application framework maintained by Google and a community of developers. ● Angular is written in TypeScript. ● Angular provides a structured approach to web development by incorporating a set of tools, libraries, and best practices. ● Angular makes web development easy with components generation.
  • 86. Setup and Installation CLI ● Search Node.js on Google ● Download Node.js from official website ● Run Node.js exe file. ● Open CMD ● Run “npm install -g @angular/cli” ● Run “ng version” command after installation.
  • 87. Creating New Angular Project ● Open new terminal ● Run “ng new your-project-name” ● Enter directory using “cd your-project-name” ● Run “ng serve --open”
  • 89. Components ● Components are the building blocks of an Angular project. ● Components provide reusability. ● Run “ng generate component <component-name>” to create a new component. ● Import the component wherever, you want to use it.
  • 91. ngFor ● Used for rendering a set of elements for each item in a collection (array or iterable). ngIf ● Used for conditionally rendering an element based on a given expression or condition.
  • 92. Routing ● Angular uses the “RouterModule” to set up and configure the routing in an application. ● The “Routes” type is used to define the routes in an Angular application. ● “RouterOutlet” is a directive used in the template to mark the area where the routed component will be displayed. ● “RouterLink” is a directive used to create links that navigate to a specific route when clicked.
  • 94. @Input() Property ● Inputs allow components to share data from parent to child component. Parent Component Child Component Data Flow
  • 95. Services ● Services in Angular are a way to organize and share code across components. ● used for tasks such as data fetching, business logic, or communication between components. ● Two key elements are : Singleton Instances & Injection Dependency.
  • 96. Injection ● Facilitates Loose Coupling and Reusability. ● hierarchical injection system ensures that each component receives the appropriate instance of the service.
  • 97. Forms ● Used to handle User Input.
  • 99. Thank You :) GDSC GHRCE Follow us:
  • 100. Kalpak Goshikwar Web Dev Lead @GDSC GHRCE
  • 102. G.H. Raisoni College of Engineering, Nagpur Backend Reference: MDN Web Docs
  • 103. G.H. Raisoni College of Engineering, Nagpur Firebase ● Firebase is a Backend-as-a-Service(BaaS). ● It is a suite of tools for building apps on top of Google Cloud Platform. ● It has three main services, i.e., a real-time database, user authentication, and hosting.
  • 104.
  • 107. G.H. Raisoni College of Engineering, Nagpur Installing firebase CLI tools ● To install firebase CLI, run the following command: npm install -g firebase-tools ● Then run, firebase login To connect firebase CLI to your account.
  • 108. G.H. Raisoni College of Engineering, Nagpur Integrating firebase with Angular ● To add firebase to your angular app, run command: ng add @angular/fire
  • 109. G.H. Raisoni College of Engineering, Nagpur Firebase Auth ● Firebase Authentication provides backend services to authenticate users to your app. ● It supports authentication using passwords, phone numbers, popular federated identity providers like Google, Facebook and Twitter, and more.
  • 110. G.H. Raisoni College of Engineering, Nagpur Firestore ● It is a NoSQL database. ● Hosted on cloud. ● Easily accessible. ● Data is stored in JSON format.
  • 111. G.H. Raisoni College of Engineering, Nagpur Firestore Collection Collection Document Document Document Document Document
  • 112. G.H. Raisoni College of Engineering, Nagpur Firestore Security Rules ● Used to control access to data. ● By default, firestore denies access to all third-party users. ● Can be made as complex as you want.
  • 113. G.H. Raisoni College of Engineering, Nagpur Add Data to firestore ● To add data to firestore setDoc() method is used. ● This method will update the document if it already exists.
  • 114. G.H. Raisoni College of Engineering, Nagpur Retrieve data from Firestore ● getDoc() function is used to retrieve a single document from firestore. ● To retrieve the entire collection we use getDocs() function.
  • 115. G.H. Raisoni College of Engineering, Nagpur Cloud Storage ● Cloud storage in firebase is used to store and serve user-generated content, such as photos or videos. ● It can perform uploads and downloads regardless of network quality. ● Files are stored in Google cloud storage Bucket.
  • 116. G.H. Raisoni College of Engineering, Nagpur Hosting ● Firebase Hosting provides fast and secure hosting for your web app. ● All content is served over an SSL connection from the closest edge server on our global CDN. ● Also, supports github integration.
  • 117. G.H. Raisoni College of Engineering, Nagpur Deploy your Angular project ● First use the command: firebase experiments:enable webframeworks ● Then, run: Firebase init hosting ● And, finally run: firebase deploy
  • 118. G.H. Raisoni College of Engineering, Nagpur Want to learn More? Refer to: Firebase Docs