Frontend:: ST ND RD
Frontend:: ST ND RD
Frontend:
Whatever is happening in front of you when you are working or dealing with website or
application is frontend.
It is a user interface (UI)
It is also called as user interaction (UX)
Front end development also called as client side programming.
Backend:
All computation, logic that you do not see while user interaction with website or application
is backend.
Backend development is also called as server side programming.
Example: Data insertion, deletion, calculation, etc in database.
Diagram:
Progressive web apps:
You may have seen this option (Add to home screen) while surfing a website using your
smartphone.
This is nothing but a website in the form of a app which is called as progressive web apps.
Important Note:
Don’t confuse Javascript with a Java programming language.
Javascript and java programming language has no relation. Java name in javacript was used
just for marketing purposes, because at that time, Java was popular.
HTML:
To see the html structure of a live website. Right click -> select “inspect”
Angular brackets < > are used to define a tag in HTML.
Syntax:
Element:
Diagram:
<!DOCTYPE html>
<html>
<head>
<title>My Title</title>
<meta>______</meta>
<script>______</script>
<style>______</style>
<link>_______</link>
</head>
<body>
<h1>_____</h1>
<p>_______</p>
</body>
</html>
• <title>My Title</title>
◦ My Title will be shown when your website opens. It is shown on the tab.
◦ This title is also be shown when user searches a topic through search engine and your
title = topic.
• <meta>
◦ This tag is mostly used for search engine optimization (SEO).
◦ It helps to improve our website’s ranking in the search results if used properly.
• <script>
◦ Javascript code is written here.
• <style>
◦ CSS code is written here.
• <head>
◦ This tag renders first when your website loads.
◦ You may have noticed, whenever any website loads, its styling is already started and
then the content is shown.
• <body>
◦ The visible content that you want to show to client is written here.
Semantic Tags:
• These tags are used by search engines and other applications because it tells the meaning of
the tag.
• Example: <header>, This tag is telling the meaning that it will have the elements which only
belongs to header section.
<div> Tag:
• This tag doesn’t have any specific meaning to it. You can create different section using
<div> tag. Its a container to keeping different elements for grouping purposes. It can a
division of a section, footer, header, etc.
<h1> Tag:
• It defines heading of your webpage.
• It should be used once per webpage (html document = webpage).
Semantic Importance
<h1>-----------------------most imp
<h2>
<h3>
<h4>
<h5>
<h6>-----------------------least imp
Note:
• Make a habit of using lowercase in all tags
<p> Tag:
• It is a paragraph tag, shows the content in it will be paragraph.
Assignments:
1. Study various HTML tags from w3schools website.
2. Perform a post class assginment at newton school student portal.