Java Springboot For Beginners
Java Springboot For Beginners
Case study:
Backend(Springboot or Django)
Lets say having a Backend API to enable one to search products from a Frontend that are stored in a
database.
API enables simple data transfer between applications. The data can be in formats of XML,JSON
WEB DEVELOPMENT
Node.js is the runtime environment, and Express.js is a framework that simplifies web application
development using JavaScript on the server side.
Language Framework
Python Django
Javascript Express Js as framework
React as Front end
HTML -STRUCTURE
CSS-STYLE
JAVASCRIPT-FUNCTIONALITY
HTML
This is a web scripting language used to define the structure of webpages. HTML has tags
html,head,title,body,paragraph and other attributes
Attributes are used to give more information about the element or the tag. There are many ie href for
links and img tag for images ie <a href=”link address”> Click this link</a> and style
<p> tag creates a new paragraph but all the content is displayed in line unless defined by a <br> tag. An
alternative for this is <pre> tag that displays all the content as it has been typed in the tag.
Text in the body can be formatted using tags e.g <b>-bold <strong>-also bold <em>-emphasized text
<i>-italic text <mark>-highlight <del>-strikethrough <ins>-underline <small>-smaller text <sub>-
subscript <sup>-superscript
<!-- --> is for comments . Formatting colours involves invoking the style attribute <h1
style=”color=blue ; font-family=verdana ; font-size=100%;text-align=center;>my Heading </h1>
To put the page title you must start with the head tag that defines properties if the page labeling. The
favicon is the icon next to the title and can be initialized by : <link rel=”icon” href=”image link”></link>
For table initialize <table> then define <tr> and for the first you should have <th> and for the next rows
have <td>
<ul> are initialized with bullets whereas <ol> are numbered.Each item initialized by <li>. For a <dl> after
putting the first element in <dt> put the description in <dd> ie <dt>Name1</dt> <dd> *This contains the
first name </dd>
Block elements ie <div> tag wraps elements in it and when called it takes up the next space in a block
format. Formats applied to the div tag are unique to the blocked div tag
Inline elements don’t take up new space but just get the required one ie the <b> tag
Iframes are used to display webpages in another webpage and can be formatted ie width height and
border preferences use<iframe> tag. <iframe src="https://www.google.com" width="300" height="300">
You can add symbols to html by initializing a paragraph and codimg them in this format &#symbol
name/code;. <p>This is an undo sign ↶</p>
Css syntax is :
Selector{
Declaration; /*comments*/
There are various selectors 1. Selects an individual element ie body 2.Selects element based on their id
ie #welcome 3.Select elements based on their class ie .heading 4.We can also strictly specify a class tied
to a particular element ie h1.heading 5.We also have a universal selector for the entire page * and then
we have the group selector ie same styling applied to particular elements ie h1,p
Margins can be: margin-top:50px or margin:50px(for all) or you can inherit margins ie margin:inherit;
Borders: border: 10px solid purple border-radius:10px (dashed dotted) border-style border-
width.
Outline wraps the element ie outline-style:solid; outline-offset:10px; /*creates space between border
and outline */
letter-spacing:30px;