<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>shashank K, Author at scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/author/shashank/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/author/shashank/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 26 Jul 2021 10:26:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>CSS border-spacing property</title>
		<link>https://www.scmgalaxy.com/tutorials/css-border-spacing-property/</link>
					<comments>https://www.scmgalaxy.com/tutorials/css-border-spacing-property/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 10:23:55 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Borer-spacing]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7046</guid>

					<description><![CDATA[<p>This CSS property is used to set the distance between the borders of the adjacent cells in the table. It [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-border-spacing-property/">CSS border-spacing property</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This CSS property is used to set the distance between the borders of the adjacent cells in the table. It applies only when the border-collapse property is set to seprate. There will not be any space between the borders is the border-collapse is set to collapse.</p>



<p class="wp-block-paragraph">It can be defined as one or two values for determining the vertical and horizontal spacing. When only one values is specified, then it sets both horizontal and vertical spacing. When we use the two value syntax, then the first one is used to set the horizontal spacing, and the second value sets the vertical spacing.</p>



<p class="wp-block-paragraph"><strong>syntax:- </strong></p>



<p class="wp-block-paragraph">border-spacing: length | initian | inherit;</p>



<p class="wp-block-paragraph"><strong>property values:-</strong></p>



<p class="wp-block-paragraph"><strong>length:- </strong>This value sets the distance between the borders of the adjacent table cell in px, cm, pt, etc. Negative values are not allowed.</p>



<p class="wp-block-paragraph"><strong>initial:- </strong>It sets the property to its default value.</p>



<p class="wp-block-paragraph"><strong>inherit:- </strong>It inherit the property from its parent element.</p>



<p class="wp-block-paragraph">Example:-</p>



<p class="wp-block-paragraph">Using the value of the border-spacing property. The border- collapse property is set to separate, and value of the border-spacing is set to 45px. </p>



<script src="https://gist.github.com/shashank969/3043bf905886046d17982ab56387d8a8.js"></script>



<figure class="wp-block-image"><img decoding="async" src="https://static.javatpoint.com/csspages/images/css-border-spacing-property.png" alt="CSS border-spacing property"/></figure>



<p class="wp-block-paragraph"><strong>Example:-</strong></p>



<p class="wp-block-paragraph">Using two values of teh border spacing property. The border-collapse property is set to separate, and the value of teh border-spacing is set to 20pt 1em. The first value, i.e., 20pt sets the horizontal spacing, and the 1 em set the vertical spacing.</p>



<script src="https://gist.github.com/shashank969/45565912ef2800345d0ca46818d1f3e7.js"></script>



<figure class="wp-block-image"><img decoding="async" src="https://static.javatpoint.com/csspages/images/css-border-spacing-property2.png" alt="CSS border-spacing property"/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-border-spacing-property/">CSS border-spacing property</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/css-border-spacing-property/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CSS border- collapse property</title>
		<link>https://www.scmgalaxy.com/tutorials/css-border-collapse-property/</link>
					<comments>https://www.scmgalaxy.com/tutorials/css-border-collapse-property/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Mon, 26 Jul 2021 09:57:44 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Border]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7043</guid>

					<description><![CDATA[<p>This property set the border of the table cells ans specifies wheather the table cells share the seprate or common [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-border-collapse-property/">CSS border- collapse property</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">This property set the border of the table cells ans specifies wheather the table cells share the seprate or common border.</p>



<p class="wp-block-paragraph">This property has two main values that are seprate and collapse. When it is set to the value seprate, distance between the cells can be defined using the border-specing property. When the border-collapse is set to the value collapse, then the inset value of the border-style property behaves like groove, and the outset value behave like ridge. </p>



<p class="wp-block-paragraph"><strong>Syntax:-</strong></p>



<p class="wp-block-paragraph">border-collapse: separate| collapse| initial | inherit;</p>



<p class="wp-block-paragraph"><strong>Property values:- </strong></p>



<p class="wp-block-paragraph"><strong>seprate:- </strong>It is the default value that seprates the border of the table cell. Using the value, each cell will display its own border.</p>



<p class="wp-block-paragraph"><strong>collapse:- </strong>The value is used to collapse the borders into a single border. Using this, two adjacent table cells will share a border. When this value is applied, the border-spacing property does not affect.</p>



<p class="wp-block-paragraph"><strong>initial:- </strong>It sets the property to its default value.</p>



<p class="wp-block-paragraph"><strong>inherit: </strong>It inherits the propperty form its parent element.</p>



<p class="wp-block-paragraph"><strong>Example- Using seprate value</strong></p>



<script src="https://gist.github.com/shashank969/20766d7c7ee0f26ef139373e89ecbbce.js"></script>



<p class="wp-block-paragraph"><strong>Example:- Using collapse property:-</strong></p>



<script src="https://gist.github.com/shashank969/585cbc601a1d74d335b780fec47f5134.js"></script>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-border-collapse-property/">CSS border- collapse property</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/css-border-collapse-property/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CSS tutorial (CSS Border-radius)</title>
		<link>https://www.scmgalaxy.com/tutorials/css-tutorial-css-border-radius/</link>
					<comments>https://www.scmgalaxy.com/tutorials/css-tutorial-css-border-radius/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 12:59:07 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6946</guid>

					<description><![CDATA[<p>CSS border-property:- The css property sets the rounded borders and provides the rounded corners around an element, tag, or div. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-tutorial-css-border-radius/">CSS tutorial (CSS Border-radius)</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>CSS border-property:- </strong>The css property sets the rounded borders and provides the rounded corners around an element, tag, or div. It defines the radius of the corners of an element. </p>



<p class="wp-block-paragraph">It is shorthand for border top-left-radius, border-top-right, border-bottom- right-radius and border-bottom-left-radius. It gives the rounded shape to the corners of the border of an element. We can specify the border for all four corners of the box in a single declaration using the border-radius. The values of this property can be defined in percentage or length units.If the bottom-left value is omitted, then it will be same as the top-right. If the value of bottom-right is eliminated, then it will be same as the top-left. Similarly, if top-right is eliminated, then it will be the same as top-left.</p>



<p class="wp-block-paragraph">Let&#8217;s see what happens when we provide a single value, two values, three values, and four values to this property.</p>



<ul class="wp-block-list"><li>If we provide a single value <strong>(</strong>such as <strong>border-radius: 30px;)</strong> to this property, it will set all corners to the same value.</li><li>When we specify two values <strong>(</strong>such as <strong>border-radius: 20% 10% <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></strong>, then the first value will be used for the top-left and bottom-right corners, and the second value will be used for the top-right and bottom-left corners.</li><li>When we use three values <strong>(</strong>such as <strong>border-radius: 10% 30% 20%;)</strong> then the first value will be used for the top-left corner, the second value will be applied on top-right, and bottom-left corners and the third value will be applied to the bottom-right corner.</li><li>Similarly, when this property has four values <strong>(border-radius: 10% 30% 20% 40%;)</strong> then the first value will be the radius of top-left, the second value will be used for the top-right, the third value will be applied on bottom-right, and the fourth value is used for bottom-left.</li></ul>



<p class="wp-block-paragraph">example:-</p>



<script src="https://gist.github.com/shashank969/cb5254df93252a0e79e9506f91c8fe32.js"></script>



<p class="wp-block-paragraph"><strong>Border-radius for specific corners:-</strong></p>



<p class="wp-block-paragraph">It sets the border radius for the top-left corner.</p>



<script src="https://gist.github.com/shashank969/44cc9d7731bbd43aba1cd23fff64e402.js"></script>



<p class="wp-block-paragraph">Example:- border-top-right-radius</p>



<p class="wp-block-paragraph">It sets the border-radius for the top-right corner.</p>



<script src="https://gist.github.com/shashank969/0ad4c18d51d528c17840e15d6b420f89.js"></script>



<p class="wp-block-paragraph">Example- border-bottom-right-radius</p>



<p class="wp-block-paragraph">It sets the border-radius for the bottom-right corner.</p>



<script src="https://gist.github.com/shashank969/5c003b3279268019fb0e54696583658d.js"></script>



<p class="wp-block-paragraph">Example- border-bottom-left-radius</p>



<p class="wp-block-paragraph">It sets the border-radius for the bottom-left corner.</p>



<script src="https://gist.github.com/shashank969/e5c466a69290346013c6af2596898330.js"></script>



<p class="wp-block-paragraph">We can specify seprate horizontal and vertical values by using the slash(/) symbol. The values before the slash (/) is used for the horizontal radius and the values after the slash(/) are for the vertical radius.</p>



<p class="wp-block-paragraph">There is an example given below using the slash(/) symbol.</p>



<p class="wp-block-paragraph">Example:-</p>



<script src="https://gist.github.com/shashank969/60a66143b304572f2081f1401c1d3e5d.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-tutorial-css-border-radius/">CSS tutorial (CSS Border-radius)</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/css-tutorial-css-border-radius/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CSS tutorial part-3</title>
		<link>https://www.scmgalaxy.com/tutorials/css-tutorial-part-3/</link>
					<comments>https://www.scmgalaxy.com/tutorials/css-tutorial-part-3/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 12:15:23 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6934</guid>

					<description><![CDATA[<p>CSS Border:- The CSS border is a property is used to set the border on an element. The CSS border properties are [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-tutorial-part-3/">CSS tutorial part-3</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>CSS Border:-</strong> </p>



<p class="wp-block-paragraph">The CSS border is a property is used to set the border on an element. </p>



<p class="wp-block-paragraph">The CSS border properties are use to specify the style, color and size of the border of an element. The CSS border properties are given below</p>



<ul class="wp-block-list"><li>border-style</li><li>border-color</li><li>border-width</li><li>border-radius</li></ul>



<p class="wp-block-paragraph"><strong>1.CSS border-style:- </strong>The Border style property is used to specify the border type which you want to display on the web page.</p>



<p class="wp-block-paragraph">There are some border style values which are commenly used for boder-style property. Try it yourself:-</p>



<script src="https://gist.github.com/shashank969/5f0403aa7eb3576ee6d8728eb3f2ebea.js"></script>



<p class="wp-block-paragraph"><strong>2. CSS border-width:- </strong>This property is used to set the border&#8217;s width. It is set in pixels. we can also use the one of the three pre-defined values, thin, medium or thick to set the width of the border. Example:-</p>



<script src="https://gist.github.com/shashank969/249156f294b3083ed5299d79cba131e4.js"></script>



<p class="wp-block-paragraph"><strong>3. CSS border-colour:-  </strong>This property is used to set the border color. There are methods to set the color of the border.</p>



<ol class="wp-block-list"><li>Name: It specifies the color name. For example:&#8221;red&#8221;.</li><li>RGB: It specifies the RGB value of the color. For example: &#8220;rgb(255,0,0)&#8221;.</li><li>Hex: It specifies the hex value of the color. For example: &#8220;#ff0000&#8221;</li></ol>



<p class="wp-block-paragraph">There is also a border color named &#8220;transparent&#8221;. If the border color is not set it is inherited from the color property of the element.</p>



<script src="https://gist.github.com/shashank969/45849b4be3a891598f0e46ea358af742.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-tutorial-part-3/">CSS tutorial part-3</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/css-tutorial-part-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CSS tutorial part-2</title>
		<link>https://www.scmgalaxy.com/tutorials/css-tutorial-part-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/css-tutorial-part-2/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 11:47:02 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6912</guid>

					<description><![CDATA[<p>CSS Selector:- CSS selector are used to select those content which we want to style. CSS selector is used to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-tutorial-part-2/">CSS tutorial part-2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>CSS Selector:-</strong></p>



<p class="wp-block-paragraph">CSS selector are used to select those content which we want to style. CSS selector is used to select HTML elements according to its id, class, type, attribute etc.</p>



<p class="wp-block-paragraph">Types of CSS selector:-</p>



<ol class="wp-block-list"><li>CSS element selector</li><li>CSS Id selector</li><li>CSS Class selector</li><li>CSS universal selector</li><li>CSS Group selector</li></ol>



<ol class="wp-block-list"><li><strong>Css Element selector:- </strong>CSS element selector selects the HTML element by name.</li><li><strong>CSS Id Selector:- </strong>The Id selector selects the id attributes of an HTML element to select a specific element. An id is always unique within the page so it is chosen to select a single, unique element.</li><li><strong>CSS Class Selector:- </strong>It select the HTML elements with a specific class attribute. It is used with a period character .(full stop symbol) followed by the class name.</li><li><strong>CSS Universal Selector:- </strong>The universal selector is used as a wildcard character. It selects all elements on the page.</li><li><strong>CSS Group Selector:- </strong>It is used on those elements which have same style definations. Grouping selector is used to minimize the code. Commas are used to separate each selector in grouping.</li></ol>



<p class="wp-block-paragraph"><strong>CSS Comments:- </strong>CSS comments are generally written to explain your code. It is very helpful fir the users who reads your code so that they can easily understand the code. Comments are ignored by the browsers. Comments are the single line or multiple line statements and written in <strong>/*&#8230;&#8230;..*/</strong>  .</p>



<p class="wp-block-paragraph"><strong>CSS Background:- </strong>This property is used to define the backgroud effects on elements. There are 5 CSS background properties that affect the HTML elements.</p>



<ol class="wp-block-list"><li>background-color</li><li>background-image</li><li>background-repeat</li><li>background-attachment</li></ol>



<ol class="wp-block-list"><li><strong>CSS Background-color:-</strong> This property is used to specify the background color of element.</li></ol>



<p class="wp-block-paragraph">You can set the background color like this:</p>



<script src="https://gist.github.com/shashank969/9dc817da2205e399f37008935e3a7f8d.js"></script>



<p class="wp-block-paragraph"><strong>2.CSS background-image:- </strong>The background-image property is used to set an image as a background of an element. By default the image covers the entire element.  Example:-</p>



<script src="https://gist.github.com/shashank969/0c84d160e1225364dd58dceba4926534.js"></script>



<p class="wp-block-paragraph"><strong>3. CSS background-repeat:- </strong>BY default, </p>



<p class="wp-block-paragraph">the background-image property repeats the background image horizontally and vertically. Some images are repeated only horizontally or vertically.</p>



<p class="wp-block-paragraph">The background looks better if the image repeated horizontally only.</p>



<script src="https://gist.github.com/shashank969/916e32cf63d71c362075608b2edc17af.js"></script>



<p class="wp-block-paragraph"><strong>4. CSS background-attachment:- </strong>Thisproperty is used to specify if the background image is fixed or scroll with the rest of the page in browser window. If you set fixed the background image then the image will not move during scrolling in the browser. example:-</p>



<script src="https://gist.github.com/shashank969/42c2e373a2db9f45683866f5a5f37cf4.js"></script>



<p class="wp-block-paragraph"><strong>5.CSS background-position:- </strong>The background-position property is used to define the initial position of the background image. By default, the background image is placed on the top-left of the webpage. we can set the following positions:-</p>



<ol class="wp-block-list"><li>centre</li><li>top</li><li>bottom</li><li>left</li><li>right</li></ol>



<script src="https://gist.github.com/shashank969/ed7d08975b4ea5f5d9dc250fb818d3b6.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/css-tutorial-part-2/">CSS tutorial part-2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/css-tutorial-part-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to CSS(Cascading Style Sheets) Part-1:-</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-csscascading-style-sheets-part-1/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-csscascading-style-sheets-part-1/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:04:05 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[cascading style sheets]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6851</guid>

					<description><![CDATA[<p>CSS is the language we use to style the web pages. CSS stands for Cascading Styles Sheets. It describes how [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-csscascading-style-sheets-part-1/">Introduction to CSS(Cascading Style Sheets) Part-1:-</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">CSS is the language we use to style the web pages. CSS stands for Cascading Styles Sheets. It describes how HTML elements are displayed on the screen. It can control the layout of multiple web pages all at once.</p>



<p class="wp-block-paragraph"><strong>CSS Syntax:-</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://www.w3schools.com/css/img_selector.gif" alt="CSS selector"/></figure>



<p class="wp-block-paragraph">The selector points the HTML elemet you want to style.</p>



<p class="wp-block-paragraph">The declaration block contains one or more declarations seprated bs semicolons.</p>



<p class="wp-block-paragraph">Each declaration includes a css property name and value, seprated by a colons.</p>



<p class="wp-block-paragraph">Multiple CSS declarations are seprated with semicolons, and declarations block are surrounded by curly braces.</p>



<p class="wp-block-paragraph"><strong>Advantages of CSS:-</strong></p>



<ol class="wp-block-list"><li><strong>Time saving:-</strong>We can write css once and then reuse same sheet in multiple HTML pages. It saves lots of time.</li><li><strong>Faster load pages:- </strong>If we use CSS, we do not need to write HTML tag attributes everytime. Just write one CSS rule of a tag and apply it to all the occurrences of that tag. So less code means faster download times.</li><li><strong>Easy maintenence:-</strong> To make a global change, simply change the style, and all elements in all the web pages will be updated automatically.</li><li><strong>Multiple device compatiblity:-</strong> Style sheets allow content to be optimized for more than one type of device.</li><li><strong>Global web standards:-</strong> Now HTML attributes are being deprecated and it is bieng recommended to use CSS.</li></ol>



<p class="wp-block-paragraph"><strong>Ways of inserting CSS:-</strong></p>



<ol class="wp-block-list"><li>External style sheets</li><li>Internal style sheets/Embedded Style sheets </li><li>Inline css</li></ol>



<p class="wp-block-paragraph"><strong>External Style Sheets:-</strong></p>



<p class="wp-block-paragraph">An external style sheet is a separate document that contains only CSS rules. An external style sheet helps to change the look of an entire website by changing just one css file. It should not contain any HTML Tags. It has .css extension.</p>



<p class="wp-block-paragraph">Example:-</p>



<p class="wp-block-paragraph">p { color: red; font-size: 24px;}</p>



<p class="wp-block-paragraph">h1{ color: blue; font-size: 24em;}</p>



<p class="wp-block-paragraph">1. Open notepad++ or any other Editor or IDE</p>



<p class="wp-block-paragraph">2. Write CSS Code</p>



<p class="wp-block-paragraph">3. Save with .css extension for example geekyshows.css</p>



<p class="wp-block-paragraph"><strong>How to link Web Page to an External Style Sheet:-</strong></p>



<p class="wp-block-paragraph">The href attribute with &lt;link&gt; element inside the &lt;head&gt; tag is used to link web page to an external style sheet.</p>



<p class="wp-block-paragraph">&lt;html&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp; &nbsp; &lt;title&gt;Welcome to Geekyshows&lt;/title&gt;</p>



<p class="wp-block-paragraph">&nbsp; &nbsp; &lt;link rel=“stylesheet” href=“geekyshows.css”&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;/head&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;body&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;h1&gt;I am Heading&lt;/h1&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;p&gt;I am first Paragraph.&lt;/p&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;p&gt;I am second Paragraph&lt;/p&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>



<p class="wp-block-paragraph"><strong>Internal Style Sheets:-</strong></p>



<p class="wp-block-paragraph">Internal Style sheet is a set of style that is created as a part of HTML document. An internal style sheet may be used if one single page has a unique style.</p>



<p class="wp-block-paragraph">Internal Style sheets are created using &lt;style&gt; element, which is added inside the &lt;head&gt; element of the HTML document.</p>



<p class="wp-block-paragraph">Example:-</p>



<p class="wp-block-paragraph">&lt;html&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp; &nbsp; &lt;title&gt;Hello CSS&lt;/title&gt;</p>



<p class="wp-block-paragraph">&nbsp; &nbsp; &lt;style type=“text/css”&gt;</p>



<p class="wp-block-paragraph">&nbsp; &nbsp; p { color: red; font-size: 24px;}</p>



<p class="wp-block-paragraph">&nbsp; h1{ color: blue; font-size: 24em;}</p>



<p class="wp-block-paragraph">&nbsp; &nbsp; &lt;/style&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;/head&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;body&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;h1&gt;I am Heading&lt;/h1&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;p&gt;I am first Paragraph.&lt;/p&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;p&gt;I am second Paragraph&lt;/p&gt;</p>



<p class="wp-block-paragraph">&nbsp; &lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>



<p class="wp-block-paragraph"><strong>Inline Styles:-</strong></p>



<p class="wp-block-paragraph">Inline style is useful when we need to define specific style for individual elements present on a web page. The <em>style</em> attribute in a specific Tag or element, is used to create inline style. The style attribute can contain any CSS property between double quotes.</p>



<p class="wp-block-paragraph">Ex:-</p>



<p class="wp-block-paragraph">For paragraph:-</p>



<p class="wp-block-paragraph">&lt;p style=“color: red; font-size: 22px;”&gt; I am first paragraph&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;p&gt; I am second paragraph&lt;/p&gt;</p>



<p class="wp-block-paragraph">For Heading: &#8211;</p>



<p class="wp-block-paragraph">&lt;h1 style=“color: red; font-size: 22px;”&gt; I am Heading&lt;/h1&gt;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-csscascading-style-sheets-part-1/">Introduction to CSS(Cascading Style Sheets) Part-1:-</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-csscascading-style-sheets-part-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to HTML.</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-html/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-html/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Mon, 19 Jul 2021 11:58:57 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6795</guid>

					<description><![CDATA[<p>What is HTML? HTML provides a way of displaying Web pages with text and images or multimedia content. HTML is [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-html/">Introduction to HTML.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>What is HTML?</strong></p>



<p class="wp-block-paragraph">HTML provides a way of displaying Web pages with text and images or multimedia content. HTML is not a programming language, it is a markup language. An HTML file is a text file containing small markup tags. The markup tags tell the web browser, such as Google chrome or internet explorer, how to display the page. An HTML file must have an htm or html file extension. HTML stands for HyperText Markup Language.</p>



<p class="wp-block-paragraph"><strong>HTML Tags:-</strong></p>



<p class="wp-block-paragraph">A tag is a bit of text acts as a point demarcation. To create a tag, HTML gives certain characters special meaning: th e angle brackets &lt;and>. putting characters within the brackets creates a tag.<br>types of tags:<br>there are two types of tags.</p>



<ol class="wp-block-list"><li>Start tag</li><li>End tag/Closing tag    End tag is same as start tag except that it has an extra forward slash after opening angle bracket.</li></ol>



<p class="wp-block-paragraph"><strong>Element:-</strong><br>The combination of start tag,end tag and things between the two tags are known as contents of teh element.<br><strong>Attribute:-</strong><br>Attributes provide additional information about the contents of an element. They appear on the opening tag of the element and are made up of two parts:- a name and a value, seprated by an equals sign. the attributes name indicate what type of extra information you are supplying about the element content.</p>



<p class="wp-block-paragraph">HTML headings:-<br>HTML headings are defined with the &lt;h1> to &lt;h6> tags. &lt;h1>defines the most important tags and &lt;h6> defines the least important tags.</p>



<p class="wp-block-paragraph"><strong>HTML paragraphs:-</strong><br>HTML paragraphs are defined with the tag.</p>



<p class="wp-block-paragraph"><strong>HTML links:-</strong><br>HTML links are defined with the &lt;a> tag. </p>



<p class="wp-block-paragraph">It is also called anchor tag. The link destination is specified in href attribute.<br>example:- <span class="has-inline-color has-vivid-red-color">&lt;a href=&#8221;https://www.facebook.com&#8221;>This is a link.&lt;/a></span></p>



<p class="wp-block-paragraph">HTML images:-<br>HTML images are defined with teh  tag. The source file(src), alternative text(alt), width and height are the attributes used with the with this tag.<br>example:- <span class="has-inline-color has-vivid-red-color">&lt;img src=&#8221;pic.jpg&#8221; alt=&#8221;facebook.com&#8221; width=&#8221;104&#8243; height=&#8221;142&#8243;></span><br></p>



<p class="wp-block-paragraph"><strong>How to view HTML source?</strong><br>To see the source code of the html page, right click on the HTML page and then select view page source, or we can use a shortcut key <strong>ctrl+u.</strong></p>



<p class="wp-block-paragraph"><strong>Some important attributes:-</strong></p>



<ol class="wp-block-list"><li><strong>src attribute:</strong>&#8211; Ths attribute id used in img tag. The src attribute specifies the path to the image to be displayed.<br>Example:-<strong>&lt;img src=&#8221;img_girl.jpg&#8221;></strong><br><br>There are two ways to specify the URL in the src attribute:<ul><li>Absolute URL-Links to an external image that is hosted on another website. Example: src=&#8221;https://www.facebook.com/images/img_girl.jpg&#8221;.</li><li>Rekative URL- Links to an image that is hosted within the website. Here, the URL does not include the domain name. If the URL begins without a slash, it will be relative to the current page. Example: src=&#8221;img_girl.jpg&#8221;. If the URL begins with a slash, it will be relative to the domain. Example: src=&#8221;/images/img_girl.jpg&#8221;.</li></ul></li></ol>



<p class="wp-block-paragraph"><strong>2. Width and height attribute:-</strong> the  tag contain the width and height attribute, it defines the width and height of the image diaplayed.</p>



<ol class="wp-block-list" start="3"><li><strong>The Alt attribute:-</strong> The required alt attribute for the  tag specifies an alternate text for an image, if the image for some reason cannot be displayed. This can be due to slow connection, or an error in the src attribute, or if the user uses a screen reader.</li><li><strong>The style attribute:-</strong> the style attribute is used to add atyle to the elment, such as colour, font, size etc.<br>exmple:-This is a red paragraph.</li><li><strong>The lang attribute:-</strong> The lang attribute is used inside the tag, to declare the language of the web page.</li></ol>



<p class="wp-block-paragraph"><strong>HTML styles:- </strong></p>



<p class="wp-block-paragraph">The HTML styles attributes is used to add styles to an element, such as color font size etc.<br><strong>Background color:- </strong>The CSS background-color property defines the background color for an HTML element.</p>



<p class="wp-block-paragraph">example:- </p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;body style=&#8221;background-color:powderblue;&#8221;></span></p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;h1>This is a heading&lt;/h1></span><br><span class="has-inline-color has-vivid-red-color">&lt;p>This is a paragraph.&lt;/p></span></p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;/body></span></p>



<p class="wp-block-paragraph"><strong>Text color:-</strong>The CSS <code>color</code> property defines the text color for an HTML element.</p>



<p class="wp-block-paragraph">example:-</p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;h1 style=&#8221;color:blue;&#8221;>This is a heading&lt;/h1></span><br><span class="has-inline-color has-vivid-red-color">&lt;p style=&#8221;color:red;&#8221;>This is a paragraph.&lt;/p></span></p>



<p class="wp-block-paragraph"><strong>Fonts:-</strong>The CSS <code>font-family</code> property defines the font to be used for an HTML element.</p>



<p class="wp-block-paragraph">example:-</p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;h1 style=&#8221;font-family:verdana;&#8221;>This is a heading&lt;/h1></span><br><span class="has-inline-color has-vivid-red-color">&lt;p style=&#8221;font-family:courier;&#8221;>This is a paragraph.&lt;/p></span></p>



<p class="wp-block-paragraph"><strong>Text size:-</strong> The CSS <code>font-size</code> property defines the text size for an HTML element.</p>



<p class="wp-block-paragraph">example:-</p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;h1 style=&#8221;font-size:300%;&#8221;>This is a heading&lt;/h1></span><br><span class="has-inline-color has-vivid-red-color">&lt;p style=&#8221;font-size:160%;&#8221;>This is a paragraph.&lt;/p></span></p>



<p class="wp-block-paragraph"><strong>Text allignment:-</strong>The CSS <code>text-align</code> property defines the horizontal text alignment for an HTML element.</p>



<p class="wp-block-paragraph">example:-</p>



<p class="wp-block-paragraph"><span class="has-inline-color has-vivid-red-color">&lt;h1 style=&#8221;text-align:center;&#8221;>Centered Heading&lt;/h1></span><br><span class="has-inline-color has-vivid-red-color">&lt;p style=&#8221;text-align:center;&#8221;>Centered paragraph.&lt;/p></span></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-html/">Introduction to HTML.</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-html/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction of WordPress</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-of-wordpress/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-of-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Thu, 22 Apr 2021 13:01:47 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5955</guid>

					<description><![CDATA[<p>WordPress is a free open source content management system. It is an online site which is based on PHP and [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-of-wordpress/">Introduction of WordPress</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">WordPress is a free open source content management system. It is an online site which is based on PHP and MySQL. it was mainly designed as a blogging tool but now it is a versatile CMS. we can create simple blog and fullt operational website and also mobile application using WordPress.</p>



<p class="wp-block-paragraph">It is considered as the easiest and most popular CMS tool due to its features. The main feature of WordPress is its versatility and feasibility to use. There is no use of coding and designing skills for creating a website on this. Even a non-technical person can also create a website with the help of WordPress easily.</p>



<p class="wp-block-paragraph">WordPress was released on 27th may 2003 by its founders Mike Little and Matt Mullenweg.</p>



<h2 class="wp-block-heading">WordPress Versions</h2>



<figure class="wp-block-table"><table><tbody><tr><th>Version</th><th>Released date</th><th>Musician</th><th>Purpose</th></tr><tr><td>0.7</td><td>May 27, 2003</td><td>none</td><td>Numbering is continued with last release of b2</td></tr><tr><td>1.0</td><td>Jan 3, 2004</td><td>Davis</td><td>Additions of search engine friendly links</td></tr><tr><td>1.2</td><td>May 22, 2004</td><td>Mingus</td><td>Plugin support added</td></tr><tr><td>1.5</td><td>Feb 17, 2005</td><td>Strayhorn</td><td>Added features to manage static page and theme system</td></tr><tr><td>2.0</td><td>Dec 31, 2005</td><td>Duke</td><td>Added features like rich editing, faster posting, image uploading and many more</td></tr><tr><td>2.1</td><td>Jan 22, 2007</td><td>Ella</td><td>Redesigned interface, corrected security issues, improved editing tools and content management system</td></tr><tr><td>2.2</td><td>May 16, 2007</td><td>Getz</td><td>Widget support for templates were added</td></tr><tr><td>2.3</td><td>Sept 24, 2007</td><td>Dexter</td><td>Some security fixes, added native tagging support and brought easy notification of updates</td></tr><tr><td>2.5</td><td>Mar 29, 2008</td><td>Brecker</td><td>Improved systems like plugin, editor, multi-file upload, extended search</td></tr><tr><td>2.6</td><td>Jul 15, 2008</td><td>Tyner</td><td>Made WordPress as more powerful CMS, enables track changes to every post and page and allows posting from anywhere</td></tr><tr><td>2.7</td><td>Dec 11, 2008</td><td>Coltrane</td><td>Added automatic upgrade, administration interface redesigned fully</td></tr><tr><td>2.8</td><td>June10,2009</td><td>Baker</td><td>Redesigned widget interface, added improvement in speed</td></tr><tr><td>2.9</td><td>Dec 19, 2009</td><td>Carmen</td><td>Added built-in image editor, global undo, batch plugin updating</td></tr><tr><td>3.0</td><td>June17,2010</td><td>Thelonious</td><td>Added a new theme APIs, new default theme &#8220;Twenty Ten&#8221;, new UI</td></tr><tr><td>3.1</td><td>Feb23, 2011</td><td>Reinhardt</td><td>Added admin bar which is displayed in all pages when admin is logged in, a new writing interface</td></tr><tr><td>3.2</td><td>Jul 4, 2011</td><td>Gershwin</td><td>Made WordPress faster and lighter seeing growing speed in WordPress community</td></tr><tr><td>3.3</td><td>Dec 12, 2011</td><td>Sonny</td><td>Focus on making WordPress familiar for tablet users and beginners</td></tr><tr><td>3.4</td><td>June13,2012</td><td>Green</td><td>Improvements on theme customization and other minor changes</td></tr><tr><td>3.5</td><td>Dec 11,2102</td><td>Elvin</td><td>new theme &#8220;Twenty Twelve&#8221;, support for color picker, retina display</td></tr><tr><td>3.6</td><td>Aug 1, 2013</td><td>Oscar</td><td>New theme &#8220;Twenty Thirteen&#8221;, autosave, post locking, admin enhancements</td></tr></tbody></table></figure>



<h2 class="wp-block-heading">Older Supported Versions</h2>



<figure class="wp-block-table"><table><tbody><tr><th>Version</th><th>Released date</th><th>Musician</th><th>Purpose</th></tr><tr><td>3.7</td><td>Oct 24, 2013</td><td>Basie</td><td>Automatic apply maintenance and security updates in background, recommendation of strong password</td></tr><tr><td>3.8</td><td>Dec 12, 2013</td><td>Parker</td><td>New theme &#8220;Twenty Fourteen&#8221;, responsive for mobile devices, improved admin interface, easy main dashboard</td></tr><tr><td>3.9</td><td>Apr 16, 2014</td><td>Smith</td><td>New theme browser, improvements in live widget, header previews</td></tr><tr><td>4.0</td><td>Sept 4, 2014</td><td>Benny</td><td>Easy language change, plugin compatibility with PHP 5.5 and MySQL 5.6</td></tr><tr><td>4.1</td><td>Dec 18, 2014</td><td>Dinah</td><td>New theme &#8220;Twenty Fifteen&#8221;, vine embeds and distraction free writing</td></tr><tr><td>4.2</td><td>Apr 23, 2015</td><td>Powell</td><td>&#8220;Press This&#8221; feature, emoji and improved character support</td></tr><tr><td>4.3</td><td>Aug 18, 2015</td><td>Billie</td><td>More focus on mobile users, improved customizer and better passwords</td></tr><tr><td>4.4</td><td>Dec 8, 2015</td><td>Clifford</td><td>New theme &#8220;Twenty Sixteen&#8221;, improved responsive images</td></tr><tr><td>4.5</td><td>Apr 12, 2016</td><td>Coleman</td><td>Added live responsive features, inline linking and some other updates</td></tr></tbody></table></figure>



<hr class="wp-block-separator"/>



<h2 class="wp-block-heading">Latest Version</h2>



<figure class="wp-block-table"><table><tbody><tr><th>Version</th><th>Released date</th><th>Musician</th><th>Purpose</th></tr><tr><td>4.6</td><td>Aug 16, 2016</td><td>Pepper</td><td>Added native fonts, streamline updates and content recovery</td></tr></tbody></table></figure>



<hr class="wp-block-separator"/>



<h2 class="wp-block-heading">Future Version</h2>



<figure class="wp-block-table"><table><tbody><tr><th>Version</th><th>Released date</th><th>Musician</th><th>Purpose</th></tr><tr><td>4.7</td><td>Dec 2016</td><td>none</td><td>Release is scheduled for December 2016</td></tr></tbody></table></figure>



<p class="wp-block-paragraph"><strong>Reasons to use WordPress</strong></p>



<ol class="wp-block-list"><li>Anyone can design his/her own website without any designing skills.</li><li>To create a website on WordPress we only need n Internet connection.</li><li>It provides a wide range of themes.</li><li>It provides many free plugins which add extra functionality to our websites.</li><li>It is free and open source.</li><li>Adding blog is very easy.</li><li>It is very fate and secure.</li><li>very easy to use.</li></ol>



<p class="wp-block-paragraph"><strong>How to create a WordPress website</strong></p>



<p class="wp-block-paragraph">Creating a site on WordPress is very easy. WordPress is designed in such a way that even non-tech users can also design their own websites easily and attractively.</p>



<p class="wp-block-paragraph">Here, we&#8217;ll discuss each and every step involved in creating a WordPress site.</p>



<ul class="wp-block-list"><li>Selecting a right platform</li><li>Choosing a domain name and host</li><li>Choosing a theme/template</li><li>Creating new pages</li><li>Adding Content</li><li>Adding Media</li><li>Installing plugins</li></ul>



<p class="wp-block-paragraph"><strong>Selecting a right platform</strong></p>



<p class="wp-block-paragraph">First you have to decide a suitable platform to build your website with. Here platform means either you want to create your website using HTML, CSS or using a CMS (Content Management Systems).</p>



<p class="wp-block-paragraph">There are various popular CMS in the market like WordPress, Drupal, Joomla, DotNetNuke, etc.</p>



<p class="wp-block-paragraph"><strong>Why choosing WordPress</strong></p>



<p class="wp-block-paragraph">For a beginner WordPress will be the best as it doesn&#8217;t need any technical skills and due to its flexibility it is suited for all type of users.</p>



<p class="wp-block-paragraph">You&#8217;ll get a lot of options to select a theme as a wide range of community design themes for WordPress. It can handle any type of website whether large or small. Most known websites like CNN, NASA, eBay use WordPress.</p>



<p class="wp-block-paragraph">Above all, it gives you a responsive site which makes it compatible with small screen devices like mobile phones and tablets.</p>



<p class="wp-block-paragraph">Shared hosting is best choice for beginners. You can later upgrade your site&#8217;s hosting according to the site&#8217;s traffic.</p>



<hr class="wp-block-separator"/>



<h2 class="wp-block-heading">Choosing a domain name and host</h2>



<p class="wp-block-paragraph">You need a domain name and a hosting space to get your website online.</p>



<p class="wp-block-paragraph">Domain name enables you to give your site your own name while hosting gives a space to your site on a server which makes sure your website loads quickly and won&#8217;t go down for hours.</p>



<p class="wp-block-paragraph">Domain name should be short and easy to remember, brand able and catchy which defines your business.</p>



<p class="wp-block-paragraph">Choosing a domain name is not easy with fulfilling all the criteria as million of domain names are active.</p>



<hr class="wp-block-separator"/>



<h2 class="wp-block-heading">Choosing a theme/template</h2>



<p class="wp-block-paragraph">After installing WordPress, a site appears very plain. To make it more attractive, users install best suitable themes for their site. It adds visuals and views to the front page.</p>



<p class="wp-block-paragraph">First of all, login to your WordPress site. By default, first screen will be your dashboard.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="627" height="309" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-16.png" alt="" class="wp-image-5956" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-16.png 627w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-16-300x148.png 300w" sizes="(max-width: 627px) 100vw, 627px" /></figure>



<p class="wp-block-paragraph"><strong>Accessing Free themes</strong></p>



<p class="wp-block-paragraph">After login, you&#8217;ll get access for 150 free themes.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="350" height="518" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-17.png" alt="" class="wp-image-5957" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-17.png 350w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-17-203x300.png 203w" sizes="(max-width: 350px) 100vw, 350px" /></figure>



<p class="wp-block-paragraph">Look at the above snapshot, to look at the free themes, got the side bar menu of your dashboard, select&nbsp;<strong>Appearance &gt;Themes</strong>.</p>



<p class="wp-block-paragraph">Below screen will appear including all the installed themes.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="627" height="315" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-18.png" alt="" class="wp-image-5958" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-18.png 627w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-18-300x151.png 300w" sizes="(max-width: 627px) 100vw, 627px" /></figure>



<p class="wp-block-paragraph">Look at the above snapshot, if you want to install more themes click on&nbsp;<strong>Add New</strong>&nbsp;button above and install it.</p>



<p class="wp-block-paragraph">To install a theme, click on <strong>Install</strong> followed by <strong>Activate</strong> button.</p>



<p class="wp-block-paragraph"><strong>Creating new pages</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="627" height="299" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-19.png" alt="" class="wp-image-5959" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-19.png 627w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-19-300x143.png 300w" sizes="auto, (max-width: 627px) 100vw, 627px" /></figure>



<p class="wp-block-paragraph">Look at the above snapshot, go the sidebar menu, click <strong>Pages > Add New</strong> option.</p>



<p class="wp-block-paragraph"><strong>Adding Content</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="320" height="483" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-20.png" alt="" class="wp-image-5960" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-20.png 320w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-20-199x300.png 199w" sizes="auto, (max-width: 320px) 100vw, 320px" /></figure>



<p class="wp-block-paragraph"><strong>Adding new post</strong></p>



<p class="wp-block-paragraph">At the end we all will come to this point to make our site popular. We need to post different things to increase the popularity of our site.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="625" height="314" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-21.png" alt="" class="wp-image-5961" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-21.png 625w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-21-300x151.png 300w" sizes="auto, (max-width: 625px) 100vw, 625px" /></figure>



<p class="wp-block-paragraph">Clicking on&nbsp;<strong>Post &gt; Add New</strong>&nbsp;option, the above page will appear on the screen.</p>



<p class="wp-block-paragraph">There are two ways to write a post, either you may write in Visual editor or in Text editor (in HTML format). Currently this snapshot is of Text editor.</p>



<p class="wp-block-paragraph"><strong>Adding Categories</strong></p>



<p class="wp-block-paragraph">You can divide your content in different categories by adding categories to them. This tool is handy when you are publishing content for more than one field.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="628" height="314" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-22.png" alt="" class="wp-image-5962" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-22.png 628w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-22-300x150.png 300w" sizes="auto, (max-width: 628px) 100vw, 628px" /></figure>



<p class="wp-block-paragraph">Click on&nbsp;<strong>Posts &gt; Categories</strong>, you will be directed to the above page.</p>



<p class="wp-block-paragraph">Here, in&nbsp;<strong>Name</strong>&nbsp;add a title to your new category. In&nbsp;<strong>Slug</strong>, you can add some words which will become part of URL while searching.</p>



<p class="wp-block-paragraph"><strong>Tags</strong></p>



<p class="wp-block-paragraph">Tags are very much similar to Categories with only one difference that each post has its own set of tags.</p>



<p class="wp-block-paragraph"><strong>Enabling or Disabling Comment</strong></p>



<p class="wp-block-paragraph">Comment creates a debate on some posts or sites. Some users don&#8217;t want their visitors to comment. They can shut comment off in WordPress.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="625" height="312" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-23.png" alt="" class="wp-image-5963" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-23.png 625w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-23-300x150.png 300w" sizes="auto, (max-width: 625px) 100vw, 625px" /></figure>



<p class="wp-block-paragraph">To disable a comment for a particular page</p>



<ul class="wp-block-list"><li>Go to <strong>Pages > Add New</strong></li><li>Click on <strong>Screen Options</strong> on top right</li><li>Tick on <strong>Discussions</strong> box</li><li>Scroll down, untick <strong>Allow Comments</strong> option.</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="628" height="246" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-24.png" alt="" class="wp-image-5964" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-24.png 628w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-24-300x118.png 300w" sizes="auto, (max-width: 628px) 100vw, 628px" /></figure>



<ul class="wp-block-list"><li>Go to&nbsp;<strong>Settings &gt; Discussions</strong></li><li>Untick &#8220;Allow people to post comments on new articles&#8221;</li></ul>



<p class="wp-block-paragraph"><strong>Editing sidebar</strong></p>



<p class="wp-block-paragraph">Sidebar which generally appears on the right side (sometimes appears on left) contains widgets like Archives, Categories and Meta, etc.</p>



<p class="wp-block-paragraph">To edit the side bar, go to&nbsp;<strong>Appearance &gt; Widgets</strong></p>



<p class="wp-block-paragraph">Use drag n drop method to either use a widget or remove a widget.</p>



<p class="wp-block-paragraph"><strong>Adding Media</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="288" height="429" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-25.png" alt="" class="wp-image-5965" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-25.png 288w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-25-201x300.png 201w" sizes="auto, (max-width: 288px) 100vw, 288px" /></figure>



<p class="wp-block-paragraph">Every website needs some photos and videos to describe its content and value. WordPress also provide functionality to add a media. You can add image caption, title and description along with media. Also add alt text helps search engine to identify the image.</p>



<hr class="wp-block-separator"/>



<h2 class="wp-block-heading">Installing plugins</h2>



<p class="wp-block-paragraph">Plugins are the extensions in the WordPress with certain piece of coding expanding specific function to you site. They are not built-in.</p>



<p class="wp-block-paragraph">There are almost 25,000 different plugins options to choose from.</p>



<p class="wp-block-paragraph">Installation a plugin is very simple. Click <strong>Plugins</strong>. You will see three options, as shown in the snapshot below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="353" height="518" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-26.png" alt="" class="wp-image-5966" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-26.png 353w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-26-204x300.png 204w" sizes="auto, (max-width: 353px) 100vw, 353px" /></figure>



<p class="wp-block-paragraph">Click on <strong>Plugins > Add New.</strong> Following screen will appear in front of you.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="628" height="313" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-27.png" alt="" class="wp-image-5967" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-27.png 628w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/image-27-300x150.png 300w" sizes="auto, (max-width: 628px) 100vw, 628px" /></figure>



<p class="wp-block-paragraph">You can choose a plugin from the given options. Just click <strong>Install Now</strong> and you will be able to use it.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-of-wordpress/">Introduction of WordPress</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-of-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DevOps Introduction</title>
		<link>https://www.scmgalaxy.com/tutorials/devops-introduction/</link>
					<comments>https://www.scmgalaxy.com/tutorials/devops-introduction/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Sat, 17 Apr 2021 09:38:40 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Devops]]></category>
		<category><![CDATA[DevOps Architecture]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5916</guid>

					<description><![CDATA[<p>What is DevOps? DevOps is the combination of two words, one is Development and other is operation. This allows a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/devops-introduction/">DevOps Introduction</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>What is DevOps?</strong></p>



<p class="wp-block-paragraph">DevOps is the combination of two words, one is Development and other is operation. This allows a single person to handle the entire lifecycle of an application. DevOps helps in collaboration between Development and Operations team to deploy code to production faster. it helps to organization speed to deliver application and services. It is a sequence of development and it operation with better communication and collaboration.</p>



<figure class="wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" decoding="async" width="500" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-1.png" alt="" data-id="5924" data-full-url="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-1.png" data-link="https://www.scmgalaxy.com/tutorials/?attachment_id=5924" class="wp-image-5924" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-1.png 500w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-1-300x180.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></figure></li></ul></figure>



<p class="wp-block-paragraph"><strong>Features of DevOps architecture:</strong></p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="237" height="227" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-4-6.png" alt="" class="wp-image-5933"/></figure></div>
</div></div>



<ol class="wp-block-list"><li><strong>Automation</strong></li></ol>



<p class="wp-block-paragraph">Automation reduces time consumption during testing and development phase. The productivity increases by automation. This will help in catching bugs so that it can be fixed easily. </p>



<p class="wp-block-paragraph"><strong>2. Collaboration</strong></p>



<p class="wp-block-paragraph"> The Development and Operations team collaborates as a DevOps team, which improves the cultural model as the teams become more productive with their productivity, which strengthens accountability and ownership. The teams share their responsibilities and work closely in sync, which in turn makes the deployment to production faster.</p>



<p class="wp-block-paragraph"><strong>3. Integration</strong></p>



<p class="wp-block-paragraph">The Applications need to integrate with other components in the environment. In integration phase the existing code is combined with new code and tested. The continious integration and testing enables continious development.continious integration helps in to execute delivery in a quicker, safer and reliable manner.</p>



<p class="wp-block-paragraph"><strong>4. Configuration management</strong></p>



<p class="wp-block-paragraph">It helps the application to interact with only those resources which are concerned with the environment.</p>



<p class="wp-block-paragraph"><strong>Advantages of DevOps:-</strong></p>



<ul class="wp-block-list"><li>It is a collective responsibility which help in better team engagement and productivity.</li><li>It improves customer satisfaction and experience.</li><li>It is an excellent approach of development and deployment.</li><li>DevOps respond faster to the market changes and improve bussiness and growth.</li><li>it places all the tools in the cloud for customer easy access.</li></ul>



<p class="wp-block-paragraph"><strong>Disadvantages of DevOps:-</strong></p>



<ul class="wp-block-list"><li>Less availablity of DevOps professionals.</li><li> DevOps is expensive.</li><li>DevOps technology is hard to manage.</li></ul>



<p class="wp-block-paragraph"><strong>DevOps Architecture:-</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="500" height="300" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-2-1.png" alt="" class="wp-image-5935" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-2-1.png 500w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/04/devops-tutorial-2-1-300x180.png 300w" sizes="auto, (max-width: 500px) 100vw, 500px" /></figure>



<p class="wp-block-paragraph"><strong>1. Build</strong></p>



<p class="wp-block-paragraph">Without DevOps the cost of the consumption of the resource was evaluated based on the pre defined individualsusage with fixed hardware allocation. But DevOps usages the cloud for resource sharing, it is a mechanism to control usage of resources.</p>



<p class="wp-block-paragraph"><strong>2. Code</strong></p>



<p class="wp-block-paragraph">Many good practices like Git helps in writing the code for bussiness, track changes, getting notified about the freason behind the changes and if necessary reverting to the original code developed.</p>



<p class="wp-block-paragraph"><strong>3.Test</strong></p>



<p class="wp-block-paragraph">The application will be ready for production after testing. In the case of manual testing, it consumes more time in testing and moving the code to the output. The testing can be automated, which decreases the time for testing so that the time to deploy the code to production can be reduced as automating the running of the scripts will remove many manual steps.</p>



<p class="wp-block-paragraph"><strong>4. Plan</strong></p>



<p class="wp-block-paragraph">Devops use Agile methodology to plan the development.</p>



<p class="wp-block-paragraph"><strong>5. Monitor</strong></p>



<p class="wp-block-paragraph">Monitering is used to identify any risk of falilure. It also help in tracking the system accurately so that the health of the application can be monitered easily.</p>



<p class="wp-block-paragraph"><strong>6. Deploy</strong></p>



<p class="wp-block-paragraph">Many systems can support the scheduler for automated deployment. The cloud management platform enables users to capture accurate insights and view the optimization scenario, analytics on trends by the deployment of dashboards.</p>



<p class="wp-block-paragraph"><strong>7. Operate</strong></p>



<p class="wp-block-paragraph">The teams operate in a collaboration where both the teams actively participate throughout the services lifecycle.</p>



<p class="wp-block-paragraph"><strong>8. Relaese</strong></p>



<p class="wp-block-paragraph">Deployment to an environment can be done by automation. But when the deployment is made to the production environment, it is done by manual triggering. many processes involved in release management commonly used to do the deployment in the production environment manually to lessen the impact on the customers.</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/devops-introduction/">DevOps Introduction</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/devops-introduction/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Intorduction to JavaScript-From Validation</title>
		<link>https://www.scmgalaxy.com/tutorials/intorduction-to-javascript-from-validation/</link>
					<comments>https://www.scmgalaxy.com/tutorials/intorduction-to-javascript-from-validation/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Fri, 16 Apr 2021 07:09:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[form validation]]></category>
		<category><![CDATA[Javascript]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=5892</guid>

					<description><![CDATA[<p>What is form validation? when we got to any of popular site to register, we notice that they provide feedback [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/intorduction-to-javascript-from-validation/">Intorduction to JavaScript-From Validation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>What is form validation?</strong></p>



<p class="wp-block-paragraph">when we got to any of popular site to register, we notice that they provide feedback when we didn&#8217;t fill the data or filled in correct format. we will get message such as:-</p>



<p class="wp-block-paragraph">&#8220;This field is requied(when we leave the field blank).&#8221;</p>



<p class="wp-block-paragraph">&#8220;Please enter your phone number in the format XXXXX&#8221;(When the data entered is not in correct format).</p>



<p class="wp-block-paragraph">&#8220;Please enter the valid email address.&#8221;( when the email entered is not in correct format).</p>



<p class="wp-block-paragraph">&#8221; Password needs to be between 8 to 20 character long and must contain one upper case letter, one symbol and a number.&#8221;( A very specific data format is required for the data).</p>



<p class="wp-block-paragraph">This is called form validation.</p>



<p class="has-text-align-center wp-block-paragraph"><strong>OR</strong></p>



<p class="wp-block-paragraph">Before submitting the data to the server, it is important to ensure that all the fieds are correctly filled. This is called client side validation. It help us to ensure that the data entered matches the requirement. If the data entered is incorrect or simply missing, the server send the data back to the client requesting to resubmit the form with correct data.</p>



<p class="wp-block-paragraph"><strong>There are two types or validation:-</strong></p>



<ol class="wp-block-list"><li><strong>Client side validation:-</strong> When the validation is done on the browser is called client side validation.</li><li><strong>Server side validation:-</strong> when then the validation is done on server is called server side validation.</li></ol>



<p class="wp-block-paragraph"><strong>Three main reasons of validation:</strong></p>



<ol class="wp-block-list"><li>We want to get the right data, in the right format.</li><li>We want to protect our users data.</li><li>We want to protect ourselves.</li></ol>



<p class="wp-block-paragraph"><strong>Different types of client side varification</strong>:-</p>



<p class="wp-block-paragraph"><strong>There are two types of validation:-</strong></p>



<ol class="wp-block-list"><li><strong>built-in form validation:</strong>&#8211; It uses the HTML5 validation features. This validation generally doesn&#8217;t require much JavaScript. Built-in form validation has better performance than JavaScript, but it is not customizable as JavaScript validation.</li><li><strong>JavaScript:-</strong> JavaScript validation is coded using JavaScript. this is completely customizable, but we need to create it or use a library.</li></ol>



<p class="wp-block-paragraph"><strong>Form validation performs 2 functions:-</strong></p>



<ol class="wp-block-list"><li><strong>Basic validation:-</strong> In this validation the is checked that all the mandatary fields must be filled.</li><li><strong>Data Format Validation:-</strong> In this validation it is checked that all the filled data must be of correct form and value. </li></ol>



<p class="wp-block-paragraph"><strong>Using built-in form validation</strong></p>



<p class="wp-block-paragraph">One of the most significant features of html5 is the ability to validate user data without relying on JavaScript. This is done by using the validation attributes on form elements. Some of the attributes are written below:</p>



<ol class="wp-block-list"><li><strong>required:</strong> It specifies that whether a form field needs to be filled in before submitting.</li><li><strong>minlength: </strong>Specifies minimum length of the data.</li><li><strong>maxlength</strong>: Specifies the max length of the data.</li><li><strong>pattern</strong>: Specifies a regular expression that defines the entered data need to be follow.</li></ol>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/intorduction-to-javascript-from-validation/">Intorduction to JavaScript-From Validation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/intorduction-to-javascript-from-validation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is javascript</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-javascript/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Wed, 24 Mar 2021 12:23:25 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Javascript]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5761</guid>

					<description><![CDATA[<p>Introduction:-javascript is an object oriented programming language used by several websites for scripting &#160;webpages. It is an interpreated programming language [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-javascript/">What is javascript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>Introduction:-</strong><em>javascript is an object oriented programming language used by several websites for scripting &nbsp;webpages. It is an interpreated programming language which enables dynamic interactivity on websites.</em></p>



<p class="wp-block-paragraph"><strong>Features of javascript:-</strong></p>



<p class="wp-block-paragraph"><em>1.all the websites support javascript, they provide built in execution environment.</em></p>



<p class="wp-block-paragraph"><em>2. it is a structured programming, it follows c programming language syntax and structure.</em></p>



<p class="wp-block-paragraph"><em>3. it is a case sensitive programming language.</em></p>



<p class="wp-block-paragraph"><em>4. it is a light weight interpreated language.</em></p>



<p class="wp-block-paragraph"><em>5. it is supportable in several operating system including macOS, windows etc.</em></p>



<p class="wp-block-paragraph"><strong>Places to put JavaScript code:-</strong></p>



<ol class="wp-block-list" type="1"><li><em>Between head tag.</em></li><li><em>Between body tag.</em></li><li><em>&nbsp;In external file(.js file)</em></li></ol>



<p class="wp-block-paragraph"><strong>javascriptComment<em>:-</em></strong><em> it is a meaningful way to deliver messange,warning,suggestion or information about the code .</em></p>



<p class="wp-block-paragraph"><strong>there are 2 types of javascript comment:</strong></p>



<ol class="wp-block-list" type="1"><li><em>Single-line comment</em></li><li><em>Multi-line comment</em></li><li><strong><em>Single line comment</em></strong><em>:-&nbsp; single line comment is used by adding forward slashes(//) before the line.</em></li><li><strong><em>Multi line comment:-</em></strong><em> it is represented by forward slash with asterisk then asterisk with forward slash.</em></li></ol>



<p class="wp-block-paragraph"><strong><em>Example</em></strong><em>:-/* code is here*/</em></p>



<p class="wp-block-paragraph"><em>JavaScript variable:- variable in javascript is a name of storage location.</em></p>



<p class="wp-block-paragraph"><strong>There are 2 types of variables:-</strong></p>



<ol class="wp-block-list" type="1"><li><em>Local variable</em></li><li><em>Global variable</em></li></ol>



<p class="wp-block-paragraph"><strong>Local variable:-</strong> <em>Javascript local variable is declared inside the lock or function. It is accessible within the function or block.</em></p>



<p class="wp-block-paragraph"><strong>Global variable<em>:-</em></strong><em> It is declared outside the function and accessible from any function</em>.</p>



<p class="wp-block-paragraph"><strong>Javascript datatypes:-</strong><em>Datatypes hold different types of values.</em></p>



<p class="wp-block-paragraph"><strong>There are two types of data types:-</strong></p>



<ol class="wp-block-list" type="1"><li>Primitive data type(string,number,Boolean undefined,null)</li><li>Non-primitive data type(object,Array,RegExp)</li></ol>



<p class="wp-block-paragraph"><strong>Javascript operators:-</strong></p>



<p class="wp-block-paragraph">.<em> javascript operators are the symbol which are used to perform operations on operands</em></p>



<p class="wp-block-paragraph"><em>1.Arithmetic Operators</em></p>



<p class="wp-block-paragraph"><em>2. Comparison (relational) operators</em></p>



<p class="wp-block-paragraph"><em>3. Bitwise Operators</em></p>



<p class="wp-block-paragraph"><em>4. logical Operatiors</em></p>



<p class="wp-block-paragraph"><em>5. Assignment Operators</em></p>



<p class="wp-block-paragraph"><em>6. Special Operators</em></p>



<p class="wp-block-paragraph"><strong>Javascript if-else:</strong></p>



<p class="wp-block-paragraph"><em>If else statement is used to execute wheather condition is true or false.</em></p>



<p class="wp-block-paragraph"><em>There are three forms of if ststements in javascript</em>:-</p>



<ol class="wp-block-list" type="1"><li><em>If statement</em></li><li><em>If else statement</em></li><li><em>If else if statement</em></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-javascript/">What is javascript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HOW TO CREATE API IN LARAVEL</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Sat, 20 Mar 2021 12:46:15 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[passport]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5700</guid>

					<description><![CDATA[<p>1st step:- open command prompt and go to xampp\htdocs folder and write the code given below in command prompt to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/">HOW TO CREATE API IN LARAVEL</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong><em>1<sup>st</sup> step:-</em></strong><em> open command prompt and go to <strong>xampp\htdocs</strong> folder and write the code given below in command prompt to create the project</em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">Composer create-project –prefer-dist laravel/laravel admin “5.5.*”</span></em></p>



<p class="wp-block-paragraph"><strong><em>2<sup>nd</sup> step:-</em></strong><em>now go to the project folder and make auth. Code is given below</em></p>



<p class="wp-block-paragraph"><em>              <span class="has-inline-color has-vivid-red-color"> php artisan make:auth</span></em></p>



<p class="wp-block-paragraph"><strong><em>3<sup>rd</sup> step:-</em></strong><em> Now install the passport. Write the code given below in command prompt.</em></p>



<p class="wp-block-paragraph"><em>  <span class="has-inline-color has-vivid-red-color">  Composer required laravel/passport</span></em></p>



<p class="wp-block-paragraph"><strong><em>4<sup>th</sup> step:-</em></strong><em>open <strong>phpmyadmin</strong> and make a database.</em></p>



<p class="wp-block-paragraph"><strong><em>5<sup>th</sup> step:-</em></strong><em> open .<strong>env file</strong> and configure the database.</em></p>



<p class="wp-block-paragraph"><strong><em>6<sup>th</sup> step:-</em></strong><em> Now migrate the database. Write the code given below in the command prompt</em></p>



<p class="wp-block-paragraph"><em>               <span class="has-inline-color has-vivid-red-color">php artisan migrate</span></em></p>



<p class="wp-block-paragraph"><strong><em>7<sup>th</sup> step:-</em></strong><em>Add the code given below in user model.</em></p>



<p class="wp-block-paragraph"><em>   <span class="has-inline-color has-vivid-red-color">    use Laravel\Passport\HasApiTokens;</span></em></p>



<p class="wp-block-paragraph"><strong><em>8<sup>th</sup> step:-</em></strong><em> Add the code given below in auth service proviser<strong>(C:\xampp\htdocs\ admin\Providers\AuthorServiceProvider.php)</strong></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">      use Laravel\Passport\Passport;</span></em></p>



<p class="wp-block-paragraph"><strong><em>9<sup>th</sup> step:-</em></strong><em> Now configure auth.php<strong>(C:\xampp\htdocs\admin\config\auth.php)</strong></em></p>



<p class="wp-block-paragraph"><em>Change the driver and provider as given below in api:-</em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘api’=>[</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘driver’=>’passport’,</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘provider’=>’users’</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">],</span></em></p>



<p class="wp-block-paragraph"><strong><em>10<sup>th</sup> step:-</em></strong><em> Add the code given below in kernel.php. <strong>(C:\xampp\htdocs\ admin\app\Http\Kernal.php)</strong></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">Protected $routeMiddleware=[</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">‘client’_credentials’=>\Laravel\Passport\Http\Middleware\CheckClientcredentials::class,</span></em></p>



<p class="wp-block-paragraph"><strong><em>11<sup>th</sup> step:-</em></strong><em>Add the code given below in <strong>app.php(config\app.php)</strong></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">/*</span></em></p>



<p class="wp-block-paragraph"><em>   <span class="has-inline-color has-vivid-red-color">*Application Service Providers…</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">  */</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color"> //Passport Service provider</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">    Laravel\Passport\PassportServiceprovider::class,</span></em></p>



<p class="wp-block-paragraph"><em><span class="has-inline-color has-vivid-red-color">];</span></em></p>



<p class="wp-block-paragraph"><strong><em>12<sup>th</sup> step:-</em></strong><em> Write the code given below in command prompt.</em></p>



<p class="wp-block-paragraph"><em>             <span class="has-inline-color has-vivid-red-color"> php artisan passport:install</span></em></p>



<p class="wp-block-paragraph"><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </em><strong>Encryption keys generated successfully.</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/">HOW TO CREATE API IN LARAVEL</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-create-api-in-laravel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to upload image in the database and send mail image</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Fri, 19 Mar 2021 12:47:09 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[upload image]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5657</guid>

					<description><![CDATA[<p>1st step:- Open command prompt in C:\xampp\htdocs. 2nd step:- Write the code given below in the opened command prompt to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/">How to upload image in the database and send mail image</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>1<sup>st</sup> step</strong>:- Open command prompt in C:\xampp\htdocs.</p>



<div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-1024x576.png" alt="" class="wp-image-5658" width="474" height="266" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-2.png 1920w" sizes="auto, (max-width: 474px) 100vw, 474px" /></figure></div>



<p class="wp-block-paragraph"><strong>2<sup>nd</sup> step:-</strong> Write the code given below in the opened command prompt to make laravel project.</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp; composer create-project --prefer-dist laravel/laravel ImageUpload "5.8.*"</pre>



<pre class="wp-block-preformatted"></pre>



<p class="wp-block-paragraph"><strong>3<sup>rd</sup> step:-</strong> After the project is created, open the folder in any code editor.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-1024x576.png" alt="" class="wp-image-5659" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-4.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>4<sup>th</sup> step:-</strong> Now open xampp. And make a database.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-1024x576.png" alt="" class="wp-image-5660" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-5.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>5<sup>th</sup> step:-</strong> Open the .env file of the project and change the name of the database same as defined in phpmyadmin.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-1024x576.png" alt="" class="wp-image-5661" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-6.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>6<sup>th</sup> step:-</strong> Write the code given below in command prompt to make controller.</p>



<p class="wp-block-paragraph"><strong>php artisan make:controller</strong><strong> </strong>ImageUpload</p>



<p class="wp-block-paragraph"><strong>7<sup>th</sup> step:-</strong> Write the code given below in command prompt to make model.</p>



<p class="wp-block-paragraph">&nbsp; <strong>php artisan make:model</strong><strong> </strong>ImageUpload<strong> </strong><strong>–m</strong></p>



<p class="wp-block-paragraph"><strong>8<sup>th</sup> step:-</strong> write the name of the column of the databse in</p>



<p class="wp-block-paragraph"><strong>database\migrations\2020_10_23_070450_create_ images _</strong><strong> </strong><strong>upload _table.php</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-1024x576.png" alt="" class="wp-image-5662" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-7.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>9<sup>th</sup> step:-</strong> Write the code given below in command prompt to migrate the table to the database.</p>



<p class="wp-block-paragraph"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><strong>php artisan migrate</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-1024x576.png" alt="" class="wp-image-5663" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-8.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>10<sup>th</sup> step:-</strong>Then make view page in resource\views</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-1024x576.png" alt="" class="wp-image-5664" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-10.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Code of <strong>imageupload.blade.php</strong></p>



<script src="https://gist.github.com/shashank969/66502b1755eb7d1c9a48566b1d1d0b67.js"></script>



<p class="wp-block-paragraph"><strong>11<sup>th</sup> step:-</strong> Make one blade file <strong>resources/view/dynamic_email_template.blade.php</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-1024x576.png" alt="" class="wp-image-5665" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-11.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>And paste the code given below:-</strong></p>



<p class="wp-block-paragraph">&lt;p&nbsp;style=&#8221;margin-left:10%;&#8221;&gt;First&nbsp;Name&nbsp;&#8211;&nbsp;&lt;b&gt;{{&nbsp;$data[&#8216;name&#8217;]&nbsp;}}&nbsp;&lt;/b&gt;&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;p&nbsp;style=&#8221;margin-left:10%;&#8221;&gt;last&nbsp;Name&nbsp;&#8211;&nbsp;&lt;b&gt;{{&nbsp;$data[&#8217;email&#8217;]&nbsp;}}&nbsp;&nbsp;&lt;/b&gt;&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;p&gt;It&nbsp;would&nbsp;be&nbsp;appriciative,&nbsp;if&nbsp;you&nbsp;gone&nbsp;through&nbsp;this&nbsp;feedback.&lt;/p&gt;</p>



<p class="wp-block-paragraph"><strong>12<sup>th</sup> step:-</strong> Go to <strong>web.php</strong> and make routes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-1024x576.png" alt="" class="wp-image-5666" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-12.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">The code is given below:-</p>



<p class="wp-block-paragraph">Route::get(&#8216;sendemail&#8217;,&#8217;SendEmailController@index&#8217;);</p>



<p class="wp-block-paragraph">Route::post(&#8216;sendemail.store&#8217;,&#8217;SendEmailController@store&#8217;)-&gt;name(&#8216;sendemail.store&#8217;);</p>



<p class="wp-block-paragraph"><strong>13<sup>th</sup> step:-</strong> Go to controller and call model class</p>



<p class="wp-block-paragraph">Paste the code given below below </p>



<script src="https://gist.github.com/shashank969/164b6f563be83821fa9d242c5b493166.js"></script>



<p class="wp-block-paragraph"><strong>14<sup>th</sup> step:-</strong> Now make the mail. Write the code given below in command prompt:-</p>



<p class="wp-block-paragraph"><strong>php artisan make:mail SendMail</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-1024x576.png" alt="" class="wp-image-5667" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-1024x576.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-300x169.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-768x432.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13-1536x864.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/Screenshot-13.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>15<sup>th</sup> step:-</strong> Paste the code given below in the file made by the above command:-</p>



<script src="https://gist.github.com/shashank969/a13b3a70e424fa8d939949f5bfa61dfd.js"></script>



<p class="wp-block-paragraph"><strong>16<sup>th</sup> step:-</strong> Make an account in mailtrap. 17<sup>th</sup> step.</p>



<p class="wp-block-paragraph"><strong>17<sup>th</sup> step:-</strong> copy host, port, Username and password.</p>



<p class="wp-block-paragraph"><strong>18<sup>th</sup> step:-</strong>configure <strong>.env</strong> file with the details copied by the mailtrap id.</p>



<p class="wp-block-paragraph"><strong>19<sup>th</sup> step:-</strong> Now run the command given below in the terminal.</p>



<p class="wp-block-paragraph"><strong>php artisan c:cache</strong></p>



<p class="wp-block-paragraph"><strong>php artisan serve</strong></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/">How to upload image in the database and send mail image</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-upload-image-in-the-database-and-send-mail-image/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WHAT IS AJAX?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-ajax/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-ajax/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Wed, 17 Mar 2021 12:02:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[asynchronous]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[SYNCHRONOUS]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5600</guid>

					<description><![CDATA[<p>                                  Introduction:- AJAX stands for Asynchronous Javascript And XML. AJAX is used for fast creating dynamic web pages. It allow [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-ajax/">WHAT IS AJAX?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">                                  </p>



<p class="wp-block-paragraph"><strong>Introduction</strong>:- <strong><em>AJAX</em></strong><em> stands for Asynchronous <strong>Javascript And XML</strong>. AJAX is used for fast creating dynamic web pages. It allow web pages to be updated asynchronously by exchanging some amount of data with the server behind the scenes. It is possible to update some parts of a web page without reloading the whole page. There are many web applications that run on ajax example:- gmail,facebook,twitter,google map, youtube etc.</em></p>



<p class="wp-block-paragraph"><strong>Understanding synchronous and asynchronous:-</strong></p>



<p class="wp-block-paragraph"><strong>Synchronous:-</strong> <em>The synchronous request blocks the client until the operation completes.</em></p>



<p class="wp-block-paragraph"><strong>Asynchronous:-</strong> <em>&nbsp;Asynchronous request doesn’t block the client. At the time when the request is processing, user can perform another operation.</em></p>



<p class="wp-block-paragraph"><strong>Some AJAX technologies:-</strong></p>



<p class="wp-block-paragraph"><em>As we know ajax is not a technology but group of inter related technologies.some of the technologies is given below:</em></p>



<p class="wp-block-paragraph"><strong>1.HTML/XHTML and CSS</strong></p>



<p class="wp-block-paragraph"><strong>2.XML and JSON</strong></p>



<p class="wp-block-paragraph"><strong>3.DOM</strong></p>



<p class="wp-block-paragraph"><strong>4.XMLHttpRequest</strong></p>



<p class="wp-block-paragraph"><strong>5.javascript</strong></p>



<ol class="wp-block-list" type="1"><li><strong>HTML/XHTML and CSS:-</strong> <em>These are the technologies which are used for developing front end of a websites and styling.</em></li><li><strong>XML and JSON:-</strong> <em>It is used for carrying data to and from the server</em></li><li><strong>DOM:-</strong> <em>It is used for dynamic display and interaction with the data.</em></li><li><strong>XMLHttpRequest<em>:-</em></strong><em> It is used for asynchronous communication between client and server</em> .</li><li><strong>Javascript:-</strong><em>It is a text based programming language used client side and server side both. Javascript allows to make the web pages imteractive.</em></li></ol>



<p class="wp-block-paragraph"><strong>HOW AJAX WORKS:-</strong></p>





<p class="wp-block-paragraph"><em>AJAX communicates with the server using XMLHttpRequest. The user sends the request from the UI and the javascript call goes to XMLHttpRequest object. Then the Http request is send to the server. Then the server interact with the database and data is retrived. The server sends te data to the XMLHttpRequest callback function. And HTML and CSS data is displayed on the browser.</em></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-ajax/">WHAT IS AJAX?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-ajax/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create Multiple Role Based Authentication and Access control in Laravel 5.8</title>
		<link>https://www.scmgalaxy.com/tutorials/multiple-role-based-authentication/</link>
					<comments>https://www.scmgalaxy.com/tutorials/multiple-role-based-authentication/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Tue, 16 Mar 2021 12:14:56 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Access control in Laravel 5.8]]></category>
		<category><![CDATA[Create Multiple Role Based Authentication]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5566</guid>

					<description><![CDATA[<p>&#160; 1st step:-open command prompt on xampp\htdocs directory. 2nd step:-Create laravel project with command given below 3rd step:- move to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/multiple-role-based-authentication/">How to Create Multiple Role Based Authentication and Access control in Laravel 5.8</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>&nbsp;</strong></p>



<p class="wp-block-paragraph"><strong>1<sup>st</sup> step</strong>:-open command prompt on <strong>xampp\htdocs directory</strong>.</p>



<p class="wp-block-paragraph"><strong>2<sup>nd</sup> step</strong>:-Create laravel project with command given below</p>



<script src="https://gist.github.com/shashank969/7ad4dffd79ad954055e9fec29d914f37.js"></script>



<p class="wp-block-paragraph"><strong>3<sup>rd</sup> step</strong>:- move to the project directory on command prompt.</p>



<p class="wp-block-paragraph"><strong>4<sup>th</sup> step</strong>:-Write the command given below for user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Authentication</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp;&nbsp;&nbsp; <code>php artisan make:auth</code></pre>



<p class="wp-block-paragraph"><strong>5<sup>th</sup> step</strong>:- write the given code in&nbsp; <strong>(database/migration/2014_10_12_000000_create_user_table.php)</strong></p>



<script src="https://gist.github.com/shashank969/68961ffac3b80195c5fb0d343aff4dd5.js"></script>



<p class="wp-block-paragraph"><strong>6<sup>th</sup> step</strong>:- create model and migration. Write the command given below in command prompt.</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <code>php artisan make:model Role -m</code></pre>



<p class="wp-block-paragraph"><strong>7<sup>th</sup> step</strong>:- write the given code <strong>in&nbsp; (database/migration/</strong> <strong>2020_06_10_060108_create_roles_table)</strong></p>



<script src="https://gist.github.com/shashank969/35c3afceb78db22c70bb0dc98789261b.js"></script>



<p class="wp-block-paragraph"><strong>8<sup>th</sup> step</strong>:- In role model create <strong>users()</strong> function for relationship. Paste the code in <strong>Role.php</strong> file given below:-</p>



<script src="https://gist.github.com/shashank969/97b463f73206ab9ffa3f058e06bbfabb.js"></script>



<p class="wp-block-paragraph"><strong>9<sup>th</sup> step</strong>:- In user model create <strong>roles()</strong> function for relationship.</p>



<p class="wp-block-paragraph">Paste the code in <strong>User.php</strong> file given below:-</p>



<script src="https://gist.github.com/shashank969/ff6b71bdfb59aab673494f7a5ed12efb.js"></script>



<p class="wp-block-paragraph"><strong>10<sup>th</sup> step</strong>:- Now create seeder file for user. File name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>UserTableSeeder.</strong> Write the command given below in command prompt to create <strong>UserTableSeeder</strong>:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:seed UsersTableSeeder
</pre></div>


<p class="wp-block-paragraph"><strong>&nbsp;&nbsp; 11<sup>th</sup> step</strong>:- Now create seeder file for Role. File name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>RoleTableSeeder</strong>. Write the command given below in command prompt to create <strong>RoleTableSeeder</strong>:-</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <code>php artisan make:seed RolesTableSeeder</code></pre>



<p class="wp-block-paragraph"><strong>12<sup>th</sup> step</strong>:-Add insert function in <strong>RolesTableSeeder.php</strong> file<strong>(database/seeds/RolesTableSeeder.php)</strong></p>



<p class="wp-block-paragraph">Add DB file given below:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
use Illuminate\Support\Facades\DB;
</pre></div>


<p class="wp-block-paragraph">Paste the code given below in RolesTableSeeder.php:-</p>



<script src="https://gist.github.com/shashank969/e1da77f8f4aa1a7a7e765395d0dbfc97.js"></script>



<p class="wp-block-paragraph"><strong>13<sup>th</sup> step</strong>:-Add insert function in <strong>RolesTableSeeder.php</strong> file<strong>(database/seeds/UsersTableSeeder.php)</strong>.</p>



<p class="wp-block-paragraph">Add DB file given below:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
use Illuminate\Support\Facades\DB;
</pre></div>


<p class="wp-block-paragraph">Paste the code given below in UsersTableSeeder.php:-</p>



<script src="https://gist.github.com/shashank969/33cccc0336ceae1fca4c59dfa84f9b31.js"></script>



<p class="wp-block-paragraph"><strong>14<sup>th</sup> step</strong>:-Create Database in mysql<strong>.(database name=devopsschool)</strong></p>



<p class="wp-block-paragraph"><strong>15<sup>th</sup> step</strong>:- Go to <strong>.env</strong> file and set database=devopsschool,username=root</p>



<p class="wp-block-paragraph">Code for <strong>.env</strong> file is given below:-</p>



<script src="https://gist.github.com/shashank969/4686d16bbe97b10d19405b833b39c1ee.js"></script>



<p class="wp-block-paragraph"><strong>16<sup>th</sup> step</strong>:- Migrate the table to the database. Write the command given below in command prompt:-</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan migration
</pre></div>


<p class="wp-block-paragraph"><strong>17<sup>th</sup> step</strong>:- Define <strong>RoletableSeeder</strong> and <strong>UserTableSeeder</strong> class on <strong>Database.php</strong> file. The code is given below:-</p>



<script src="https://gist.github.com/shashank969/0e89d875392444284acd86efdb6e5e12.js"></script>



<p class="wp-block-paragraph"><strong>18<sup>th</sup> step</strong>:- insert datas in tables. Write the code given below in command prompt:</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp; <code>php artisan db:seed</code></pre>



<p class="wp-block-paragraph"><strong>19<sup>th</sup> step</strong>:- create DashboardController for Admin. Write the code given below in command prompt:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:controller Admin/DashboardController
</pre></div>


<p class="wp-block-paragraph"><strong>20<sup>th</sup> step</strong>:- create DashboardController for Admin. Write the code given below in command prompt:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:controller User/DashboardController
</pre></div>


<p class="wp-block-paragraph"><strong>21<sup>st</sup> step</strong>:- create Adminmiddleware for Admin. Write the code given below in command prompt.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:middleware AdminMiddleware
</pre></div>


<p class="wp-block-paragraph"><strong>22<sup>nd</sup> step</strong>:- create Usermiddleware for User. Write the code given below in command prompt.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
php artisan make:middleware UserMiddleware
</pre></div>


<p class="wp-block-paragraph"><strong>23<sup>rd</sup> step</strong>:- Use Auth class for authentication in <strong>AdminMiddleware.php</strong></p>



<p class="wp-block-paragraph"><strong>24<sup>th</sup> step</strong>:- implement condition in <strong>handle()</strong> function of AdminMiddleware.php. Code of <strong>AdminMiddleware.php</strong> is given below:</p>



<script src="https://gist.github.com/shashank969/34603271092206e91a30a32243dc3220.js"></script>



<p class="wp-block-paragraph"><strong>25<sup>th</sup> step</strong>:- Use Auth class for authentication in <strong>UserMiddleware.php.</strong></p>



<p class="wp-block-paragraph"><strong>26<sup>th</sup> step</strong>:- :- Implement condition in <strong>handle()</strong> function of <strong>UserMiddleware.php</strong>. Code of <strong>UserMiddleware.php</strong> is given below:</p>



<script src="https://gist.github.com/shashank969/c90faae93c3ae58fa7a7d105a599ec5d.js"></script>



<p class="wp-block-paragraph"><strong>27<sup>th</sup> step</strong>:- &nbsp;&nbsp;Implement Condition for&nbsp;<strong>Admin</strong>&nbsp;and&nbsp;<strong>User</strong>&nbsp;Login in RedirectIfAuthenticated(<strong>app/Http/Middleware/RedirectIfAuthenticated.php</strong>). code given below:</p>



<script src="https://gist.github.com/shashank969/ce2030ca044a1d5b4c864963a752e767.js"></script>



<p class="wp-block-paragraph"><strong>28<sup>th</sup> step</strong>:- remove =/home from protected <strong>$redirectTo = ‘/home’;</strong><strong> </strong><strong>from </strong>(<strong>app/Http/Controllers/Auth/LoginController.php</strong>).</p>



<p class="wp-block-paragraph"><strong>29<sup>th</sup> step</strong>:- implement condition in _construct() function in (<strong>app/Http/Controllers/Auth/LoginController.php</strong>).</p>



<p class="wp-block-paragraph">&nbsp;code given below:-</p>



<script src="https://gist.github.com/shashank969/e584edf4266ab608d2cafa2f731f7811.js"></script>



<p class="wp-block-paragraph"><strong>30<sup>th</sup> step</strong>:- remove =/home from protected <strong>$redirectTo = ‘/home’;</strong><strong> </strong><strong>from </strong>(<strong>app/Http/Controllers/Auth/LoginController.php</strong>).</p>



<p class="wp-block-paragraph"><strong>31<sup>st</sup> step</strong>:- implement condition in _<strong>construct()</strong> function in (<strong>app/Http/Controllers/Auth/ResetPasswordController.php</strong>)</p>



<p class="wp-block-paragraph">code given below:-</p>



<script src="https://gist.github.com/shashank969/b9accdb9904243484501bf0c2ac2dd07.js"></script>



<p class="wp-block-paragraph"><strong>32<sup>nd</sup> step</strong>:- use AdminMiddleware in Kernal.php file</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
use App\Http\Middleware\AdminMiddleware;
</pre></div>


<p class="wp-block-paragraph"><strong>33<sup>rd</sup> step</strong>:-Define AdminMiddleware in routemiddleware in kernel.php file</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&#039;admin&#039; =&gt; AdminMiddleware::class,
</pre></div>


<p class="wp-block-paragraph"><strong>34<sup>th</sup> step</strong>:- use UserMiddleware in Kernal.php file</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
use App\Http\Middleware\UserMiddleware;
</pre></div>


<p class="wp-block-paragraph"><strong>35<sup>th</sup> step</strong>:- define UserMiddleware in routeMiddleware</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
&#039;user&#039; =&gt; UserMiddleware::class,
</pre></div>


<p class="wp-block-paragraph"><strong>36<sup>th</sup> step</strong>:- set Admin middleware and Route. In <strong>(route/web.php)</strong></p>



<p class="wp-block-paragraph"><strong>37<sup>th</sup> step</strong>:- set user middleware and route. In <strong>(route/web.php)</strong></p>



<p class="wp-block-paragraph">Code of web.php file is given below:-</p>



<script src="https://gist.github.com/shashank969/10b3f897c40ac6b4a72db061f650216e.js"></script>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/multiple-role-based-authentication/">How to Create Multiple Role Based Authentication and Access control in Laravel 5.8</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/multiple-role-based-authentication/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>LARAVEL CRUD</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-crud/</link>
					<comments>https://www.scmgalaxy.com/tutorials/laravel-crud/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Sat, 13 Mar 2021 12:26:31 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5533</guid>

					<description><![CDATA[<p>Laravel crud operation:-(version 5.8) 1st step:-First we have to download laravel (version-5.8).to download laravel we have to go to command [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-crud/">LARAVEL CRUD</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Laravel crud operation:-(version 5.8)</strong></p>



<p class="wp-block-paragraph"><strong>1<sup>st</sup> step:-</strong>First we have to download laravel (version-5.8).to download laravel we have to go to command prompt, and then go to the folder path in which you want to download laravel. After&nbsp; this run the composer command.(command givel below):-</p>



<p class="wp-block-paragraph">composer create-project laravel/laravel=5.8 crud &#8211;prefer-dist</p>



<p class="wp-block-paragraph"><strong>2<sup>nd</sup> step</strong><strong>:-</strong> After downloading laravel, we have to make MySql database.</p>



<p class="wp-block-paragraph"><strong>3<sup>rd</sup> step:-</strong> now open .env file of the model and configure like the image given below:</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="200" height="148" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/03/2-2-1.png" alt="" class="wp-image-5543"/></figure></div>



<p class="wp-block-paragraph"><strong>4<sup>th</sup> step</strong><strong>:-</strong> Make the migration folder by the writing the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command given below on command prompt:</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; php artisan make:migration create_crud_table &#8211;create=crud</p>



<p class="wp-block-paragraph">This command make a migration file in database\migration in this file we have to define the required column which we want to create in the database table.</p>



<p class="wp-block-paragraph">The code for migration:-</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;?php</p>



<p class="wp-block-paragraph">use&nbsp;Illuminate\Support\Facades\Schema;</p>



<p class="wp-block-paragraph">use&nbsp;Illuminate\Database\Schema\Blueprint;</p>



<p class="wp-block-paragraph">use&nbsp;Illuminate\Database\Migrations\Migration;</p>



<p class="wp-block-paragraph">class&nbsp;CreateCrudsTable&nbsp;extends&nbsp;Migration</p>



<p class="wp-block-paragraph">{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Run&nbsp;the&nbsp;migrations.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;void</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;up()</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Schema::create(&#8216;cruds&#8217;,&nbsp;function&nbsp;(Blueprint&nbsp;$table)&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$table-&gt;bigIncrements(&#8216;id&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$table-&gt;string(&#8216;first_name&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$table-&gt;string(&#8216;last_name&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$table-&gt;string(&#8216;image&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$table-&gt;timestamps();</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Reverse&nbsp;the&nbsp;migrations.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;void</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;down()</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Schema::dropIfExists(&#8216;cruds&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">}</p>



<p class="wp-block-paragraph">Now we have to migrate the table to the database. The command to migrate the table to tahe database is:-</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Php artisan migrate</p>



<p class="wp-block-paragraph">Write the above code in command prompt.&nbsp;</p>



<p class="wp-block-paragraph"><strong>5<sup>th</sup> step:-</strong> Now make a model by using the command</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Php artisan make:moedel model_name –m</p>



<p class="wp-block-paragraph">By the above command a new file is created with .php extension in app folder.</p>



<p class="wp-block-paragraph"><strong>6<sup>th</sup> step:-</strong> Paste the code given below in the file created in &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5<sup>th</sup> step</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp; &lt;?php</p>



<p class="wp-block-paragraph">namespace&nbsp;App;</p>



<p class="wp-block-paragraph">use&nbsp;Illuminate\Database\Eloquent\Model;</p>



<p class="wp-block-paragraph">class&nbsp;crud&nbsp;extends&nbsp;Model</p>



<p class="wp-block-paragraph">{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;protected&nbsp;$fillable&nbsp;=[</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;first_name&#8217;,&nbsp;&#8216;last_name&#8217;,&nbsp;&#8216;image&#8217;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;];</p>



<p class="wp-block-paragraph">}</p>



<p class="wp-block-paragraph"><strong>7<sup>th</sup> step:-</strong> Now create controller. The code to create controller is given below</p>



<p class="wp-block-paragraph">&nbsp;&nbsp; Php artisan make:controller CrudController –resource</p>



<p class="wp-block-paragraph">Note: crud of CrudController is name of the model.</p>



<p class="wp-block-paragraph">8<sup>th</sup> step:- This is the most important step. In this step we set up the route for all the CrudController class&nbsp; method. Write the below code in route\web.php file.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp; &lt;?php</p>



<p class="wp-block-paragraph">/*</p>



<p class="wp-block-paragraph">|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>



<p class="wp-block-paragraph">|&nbsp;Web&nbsp;Routes</p>



<p class="wp-block-paragraph">|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>



<p class="wp-block-paragraph">|</p>



<p class="wp-block-paragraph">|&nbsp;Here&nbsp;is&nbsp;where&nbsp;you&nbsp;can&nbsp;register&nbsp;web&nbsp;routes&nbsp;for&nbsp;your&nbsp;application.&nbsp;These</p>



<p class="wp-block-paragraph">|&nbsp;routes&nbsp;are&nbsp;loaded&nbsp;by&nbsp;the&nbsp;RouteServiceProvider&nbsp;within&nbsp;a&nbsp;group&nbsp;which</p>



<p class="wp-block-paragraph">|&nbsp;contains&nbsp;the&nbsp;&#8220;web&#8221;&nbsp;middleware&nbsp;group.&nbsp;Now&nbsp;create&nbsp;something&nbsp;great!</p>



<p class="wp-block-paragraph">|</p>



<p class="wp-block-paragraph">*/</p>



<p class="wp-block-paragraph">Route::get(&#8216;/&#8217;,&nbsp;function&nbsp;()&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;view(&#8216;welcome&#8217;);</p>



<p class="wp-block-paragraph">});</p>



<p class="wp-block-paragraph">Route::resource(&#8216;crud&#8217;,&#8217;CrudsController&#8217;);</p>



<p class="wp-block-paragraph"><strong>9<sup>th</sup> step</strong>:- Now code the view file in resource\views folder. All the html,css and javascript code is written in this file.</p>



<p class="wp-block-paragraph">We make new file for the view in resource\views\filename.blade.php</p>



<p class="wp-block-paragraph">Code is given below</p>



<p class="wp-block-paragraph">&lt;!DOCTYPE&nbsp;html&gt;</p>



<p class="wp-block-paragraph">&lt;html&nbsp;lang=&#8221;en&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;charset=&#8221;UTF-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv=&#8221;X-UA-Compatible&#8221;&nbsp;content=&#8221;IE=edge&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;name=&#8221;viewport&#8221;&nbsp;content=&#8221;width=device-width,&nbsp;initial-scale=1.0&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Document&lt;/title&gt;</p>



<p class="wp-block-paragraph">&lt;/head&gt;</p>



<p class="wp-block-paragraph">&lt;body&gt;</p>



<p class="wp-block-paragraph">@extends(&#8216;Crud.parent&#8217;)</p>



<p class="wp-block-paragraph">@section(&#8216;main&#8217;)</p>



<p class="wp-block-paragraph">&lt;div&nbsp;align=&#8221;right&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{route(&#8216;crud.create&#8217;)}}&#8221;class=&#8221;btn&nbsp;btn-success&nbsp;btn-sm&#8221;&gt;Add&lt;/a&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">@if&nbsp;($message&nbsp;=&nbsp;Session::get(&#8216;success&#8217;))</p>



<p class="wp-block-paragraph">&lt;div&nbsp;class=&#8221;alert&nbsp;alert-success&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;p&gt;{{$message}}&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">@endif</p>



<p class="wp-block-paragraph">&lt;table&nbsp;class=&#8221;table&nbsp;table-bordered&nbsp;table-striped&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;10%&#8221;&gt;Image&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;35%&#8221;&gt;First&nbsp;Name&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;35%&#8221;&gt;Last&nbsp;Name&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;30%&#8221;&gt;Action&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;@foreach($data&nbsp;as&nbsp;$row)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;&lt;img&nbsp;src=&#8221;{{&nbsp;URL::to(&#8216;/&#8217;)&nbsp;}}/images/{{&nbsp;$row-&gt;image&nbsp;}}&#8221;&nbsp;class=&#8221;img-thumbnail&#8221;&nbsp;width=&#8221;75&#8243;&nbsp;/&gt;&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;{{&nbsp;$row-&gt;first_name&nbsp;}}&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;{{&nbsp;$row-&gt;last_name&nbsp;}}&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{route(&#8216;crud.show&#8217;,&nbsp;$row-&gt;id)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-primary&#8221;&gt;Show&lt;/a&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{route(&#8216;crud.edit&#8217;,&nbsp;$row-&gt;id)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-warning&#8221;&gt;Edit&lt;/a&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;form&nbsp;action=&#8221;{{route(&#8216;crud.destroy&#8217;,$row-&gt;id)&nbsp;}}&#8221;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method=&#8221;post&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@csrf</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@method(&#8216;DELETE&#8217;)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;button&nbsp;type=&#8221;submit&#8221;&nbsp;class=&#8221;btn&nbsp;btn-danger&#8221;&gt;Delete&lt;/button&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/form&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;/tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;@endforeach</p>



<p class="wp-block-paragraph">&lt;/table&gt;</p>



<p class="wp-block-paragraph">{!!&nbsp;$data-&gt;links()&nbsp;!!}</p>



<p class="wp-block-paragraph">@endsection</p>



<p class="wp-block-paragraph">&lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>



<p class="wp-block-paragraph"><strong>10<sup>th</sup> step</strong>:- Now code the controller.</p>



<p class="wp-block-paragraph">&nbsp;Code for the controller</p>



<p class="wp-block-paragraph">&lt;?php</p>



<p class="wp-block-paragraph">namespace&nbsp;App\Http\Controllers;</p>



<p class="wp-block-paragraph">use&nbsp;Illuminate\Http\Request;</p>



<p class="wp-block-paragraph">use&nbsp;App\Crud;</p>



<p class="wp-block-paragraph">class&nbsp;CrudsController&nbsp;extends&nbsp;Controller</p>



<p class="wp-block-paragraph">{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Display&nbsp;a&nbsp;listing&nbsp;of&nbsp;the&nbsp;resource.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;index()</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;=&nbsp;Crud::latest()-&gt;paginate(5);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;view(&#8216;Crud.index&#8217;,&nbsp;compact(&#8216;data&#8217;))</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&gt;with(&#8216;i&#8217;,&nbsp;(request()-&gt;input(&#8216;page&#8217;,&nbsp;1)&nbsp;&#8211;&nbsp;1)&nbsp;*&nbsp;5);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Show&nbsp;the&nbsp;form&nbsp;for&nbsp;creating&nbsp;a&nbsp;new&nbsp;resource.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;create()</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;view(&#8216;Crud.create&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Store&nbsp;a&nbsp;newly&nbsp;created&nbsp;resource&nbsp;in&nbsp;storage.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&nbsp;\Illuminate\Http\Request&nbsp;&nbsp;$request</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;store(Request&nbsp;$request)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$request-&gt;validate([</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;first_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required&#8217;,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;last_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required&#8217;,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;image&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required|image|max:2048&#8217;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$image&nbsp;=&nbsp;$request-&gt;file(&#8216;image&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$new_name&nbsp;=&nbsp;rand()&nbsp;.&nbsp;&#8216;.&#8217;&nbsp;.&nbsp;$image-&gt;getClientOriginalExtension();</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$image-&gt;move(public_path(&#8216;images&#8217;),&nbsp;$new_name);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$form_data&nbsp;=&nbsp;array(</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;first_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;$request-&gt;first_name,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;last_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;$request-&gt;last_name,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;image&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;$new_name</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crud::create($form_data);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;redirect(&#8216;crud&#8217;)-&gt;with(&#8216;success&#8217;,&nbsp;&#8216;Data&nbsp;Added&nbsp;successfully.&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Display&nbsp;the&nbsp;specified&nbsp;resource.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&nbsp;int&nbsp;&nbsp;$id</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;show($id)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;=&nbsp;Crud::findOrFail($id);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;view(&#8216;Crud.view&#8217;,&nbsp;compact(&#8216;data&#8217;));</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Show&nbsp;the&nbsp;form&nbsp;for&nbsp;editing&nbsp;the&nbsp;specified&nbsp;resource.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&nbsp;int&nbsp;&nbsp;$id</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;edit($id)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;=&nbsp;Crud::findOrFail($id);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;view(&#8216;Crud.edit&#8217;,&nbsp;compact(&#8216;data&#8217;));</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Update&nbsp;the&nbsp;specified&nbsp;resource&nbsp;in&nbsp;storage.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&nbsp;\Illuminate\Http\Request&nbsp;&nbsp;$request</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&nbsp;int&nbsp;&nbsp;$id</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;update(Request&nbsp;$request,&nbsp;$id)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$image_name&nbsp;=&nbsp;$request-&gt;hidden_image;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$image&nbsp;=&nbsp;$request-&gt;file(&#8216;image&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if($image&nbsp;!=&nbsp;&#8221;)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$request-&gt;validate([</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;first_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required&#8217;,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;last_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required&#8217;,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;image&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;image|max:2048&#8217;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$image_name&nbsp;=&nbsp;rand()&nbsp;.&nbsp;&#8216;.&#8217;&nbsp;.&nbsp;$image-&gt;getClientOriginalExtension();</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$image-&gt;move(public_path(&#8216;images&#8217;),&nbsp;$image_name);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$request-&gt;validate([</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;first_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required&#8217;,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;last_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&#8216;required&#8217;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$form_data&nbsp;=&nbsp;array(</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;first_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;$request-&gt;first_name,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;last_name&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;$request-&gt;last_name,</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;image&#8217;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&gt;&nbsp;&nbsp;&nbsp;$image_name</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crud::whereId($id)-&gt;update($form_data);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;redirect(&#8216;crud&#8217;)-&gt;with(&#8216;success&#8217;,&nbsp;&#8216;Data&nbsp;is&nbsp;successfully&nbsp;updated&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;/**</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Remove&nbsp;the&nbsp;specified&nbsp;resource&nbsp;from&nbsp;storage.</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;&nbsp;int&nbsp;&nbsp;$id</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;\Illuminate\Http\Response</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;destroy($id)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;{</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;=&nbsp;Crud::findOrFail($id);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data-&gt;delete();</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;redirect(&#8216;crud&#8217;)-&gt;with(&#8216;success&#8217;,&nbsp;&#8216;Data&nbsp;is&nbsp;successfully&nbsp;deleted&#8217;);</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;}</p>



<p class="wp-block-paragraph">}</p>



<p class="wp-block-paragraph">Code for index file</p>



<p class="wp-block-paragraph"><strong>resources/views/index.blade.php</strong></p>



<p class="wp-block-paragraph">&lt;!DOCTYPE&nbsp;html&gt;</p>



<p class="wp-block-paragraph">&lt;html&nbsp;lang=&#8221;en&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;charset=&#8221;UTF-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv=&#8221;X-UA-Compatible&#8221;&nbsp;content=&#8221;IE=edge&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;name=&#8221;viewport&#8221;&nbsp;content=&#8221;width=device-width,&nbsp;initial-scale=1.0&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Document&lt;/title&gt;</p>



<p class="wp-block-paragraph">&lt;/head&gt;</p>



<p class="wp-block-paragraph">&lt;body&gt;</p>



<p class="wp-block-paragraph">@extends(&#8216;Crud.parent&#8217;)</p>



<p class="wp-block-paragraph">@section(&#8216;main&#8217;)</p>



<p class="wp-block-paragraph">&lt;div&nbsp;align=&#8221;right&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{route(&#8216;crud.create&#8217;)}}&#8221;class=&#8221;btn&nbsp;btn-success&nbsp;btn-sm&#8221;&gt;Add&lt;/a&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">@if&nbsp;($message&nbsp;=&nbsp;Session::get(&#8216;success&#8217;))</p>



<p class="wp-block-paragraph">&lt;div&nbsp;class=&#8221;alert&nbsp;alert-success&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;p&gt;{{$message}}&lt;/p&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">@endif</p>



<p class="wp-block-paragraph">&lt;table&nbsp;class=&#8221;table&nbsp;table-bordered&nbsp;table-striped&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;10%&#8221;&gt;Image&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;35%&#8221;&gt;First&nbsp;Name&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;35%&#8221;&gt;Last&nbsp;Name&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;th&nbsp;width=&#8221;30%&#8221;&gt;Action&lt;/th&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;@foreach($data&nbsp;as&nbsp;$row)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;&lt;img&nbsp;src=&#8221;{{&nbsp;URL::to(&#8216;/&#8217;)&nbsp;}}/images/{{&nbsp;$row-&gt;image&nbsp;}}&#8221;&nbsp;class=&#8221;img-thumbnail&#8221;&nbsp;width=&#8221;75&#8243;&nbsp;/&gt;&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;{{&nbsp;$row-&gt;first_name&nbsp;}}&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;{{&nbsp;$row-&gt;last_name&nbsp;}}&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{route(&#8216;crud.show&#8217;,&nbsp;$row-&gt;id)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-primary&#8221;&gt;Show&lt;/a&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{route(&#8216;crud.edit&#8217;,&nbsp;$row-&gt;id)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-warning&#8221;&gt;Edit&lt;/a&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;form&nbsp;action=&#8221;{{route(&#8216;crud.destroy&#8217;,$row-&gt;id)&nbsp;}}&#8221;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;method=&#8221;post&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@csrf</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@method(&#8216;DELETE&#8217;)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;button&nbsp;type=&#8221;submit&#8221;&nbsp;class=&#8221;btn&nbsp;btn-danger&#8221;&gt;Delete&lt;/button&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/form&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;/td&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;/tr&gt;</p>



<p class="wp-block-paragraph">&nbsp;@endforeach</p>



<p class="wp-block-paragraph">&lt;/table&gt;</p>



<p class="wp-block-paragraph">{!!&nbsp;$data-&gt;links()&nbsp;!!}</p>



<p class="wp-block-paragraph">@endsection</p>



<p class="wp-block-paragraph">&lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>



<p class="wp-block-paragraph">Code for create file</p>



<p class="wp-block-paragraph"><strong>resources/views/create.blade.php</strong></p>



<p class="wp-block-paragraph"><strong>&nbsp;&nbsp; </strong>&lt;!DOCTYPE&nbsp;html&gt;</p>



<p class="wp-block-paragraph">&lt;html&nbsp;lang=&#8221;en&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;charset=&#8221;UTF-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv=&#8221;X-UA-Compatible&#8221;&nbsp;content=&#8221;IE=edge&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;name=&#8221;viewport&#8221;&nbsp;content=&#8221;width=device-width,&nbsp;initial-scale=1.0&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Document&lt;/title&gt;</p>



<p class="wp-block-paragraph">&lt;/head&gt;</p>



<p class="wp-block-paragraph">&lt;body&gt;</p>



<p class="wp-block-paragraph">@extends(&#8216;Crud.parent&#8217;)</p>



<p class="wp-block-paragraph">@section(&#8216;main&#8217;)</p>



<p class="wp-block-paragraph">@if($errors-&gt;any())</p>



<p class="wp-block-paragraph">&lt;div&nbsp;class=&#8221;alert&nbsp;alert-danger&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;ul&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;@foreach($errors-&gt;all()&nbsp;as&nbsp;$error)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;li&gt;{{&nbsp;$error&nbsp;}}&lt;/li&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;@endforeach</p>



<p class="wp-block-paragraph">&nbsp;&lt;/ul&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">@endif</p>



<p class="wp-block-paragraph">&lt;div&nbsp;align=&#8221;right&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;a&nbsp;href=&#8221;{{&nbsp;route(&#8216;crud.index&#8217;)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-default&#8221;&gt;Back&lt;/a&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">&lt;form&nbsp;method=&#8221;post&#8221;&nbsp;action=&#8221;{{&nbsp;route(&#8216;crud.store&#8217;)&nbsp;}}&#8221;&nbsp;enctype=&#8221;multipart/form-data&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;@csrf</p>



<p class="wp-block-paragraph">&nbsp;&lt;div&nbsp;class=&#8221;form-group&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;label&nbsp;class=&#8221;col-md-4&nbsp;text-right&#8221;&gt;Enter&nbsp;First&nbsp;Name&lt;/label&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;col-md-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;text&#8221;&nbsp;name=&#8221;first_name&#8221;&nbsp;class=&#8221;form-control&nbsp;input-lg&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;div&nbsp;class=&#8221;form-group&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;label&nbsp;class=&#8221;col-md-4&nbsp;text-right&#8221;&gt;Enter&nbsp;Last&nbsp;Name&lt;/label&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;col-md-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;text&#8221;&nbsp;name=&#8221;last_name&#8221;&nbsp;class=&#8221;form-control&nbsp;input-lg&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;div&nbsp;class=&#8221;form-group&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;label&nbsp;class=&#8221;col-md-4&nbsp;text-right&#8221;&gt;Select&nbsp;Profile&nbsp;Image&lt;/label&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;col-md-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;file&#8221;&nbsp;name=&#8221;image&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;&lt;br&nbsp;/&gt;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;div&nbsp;class=&#8221;form-group&nbsp;text-center&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;submit&#8221;&nbsp;name=&#8221;add&#8221;&nbsp;class=&#8221;btn&nbsp;btn-primary&nbsp;input-lg&#8221;&nbsp;value=&#8221;Add&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&lt;/form&gt;</p>



<p class="wp-block-paragraph">@endsection</p>



<p class="wp-block-paragraph">&lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>



<p class="wp-block-paragraph">Code for view file</p>



<p class="wp-block-paragraph"><strong>resources/views/view.blade.php</strong></p>



<p class="wp-block-paragraph">&lt;!DOCTYPE&nbsp;html&gt;</p>



<p class="wp-block-paragraph">&lt;html&nbsp;lang=&#8221;en&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;charset=&#8221;UTF-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv=&#8221;X-UA-Compatible&#8221;&nbsp;content=&#8221;IE=edge&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;name=&#8221;viewport&#8221;&nbsp;content=&#8221;width=device-width,&nbsp;initial-scale=1.0&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Document&lt;/title&gt;</p>



<p class="wp-block-paragraph">&lt;/head&gt;</p>



<p class="wp-block-paragraph">&lt;body&gt;</p>



<p class="wp-block-paragraph">@extends(&#8216;parent&#8217;)</p>



<p class="wp-block-paragraph">@section(&#8216;main&#8217;)</p>



<p class="wp-block-paragraph">&lt;div&nbsp;class=&#8221;jumbotron&nbsp;text-center&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;div&nbsp;allign=&#8221;right&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{&nbsp;route(&#8216;crud.index&#8217;)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-default&#8221;&gt;Back&lt;/a&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;img&nbsp;src=&#8221;{{&nbsp;URL::to(&#8216;/&#8217;)&nbsp;}}/images/{{&nbsp;$data-&gt;image&nbsp;}}&#8221;&nbsp;class=&#8221;img-thumbnail&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;h3&gt;First&nbsp;Name&nbsp;&#8211;&nbsp;{{&nbsp;$data-&gt;first_name&nbsp;}}&nbsp;&lt;/h3&gt;</p>



<p class="wp-block-paragraph">&nbsp;&lt;h3&gt;Last&nbsp;Name&nbsp;&#8211;&nbsp;{{&nbsp;$data-&gt;last_name&nbsp;}}&lt;/h3&gt;</p>



<p class="wp-block-paragraph">&lt;/div&gt;</p>



<p class="wp-block-paragraph">@endsection</p>



<p class="wp-block-paragraph">&lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>



<p class="wp-block-paragraph">&nbsp; Code for edit file</p>



<p class="wp-block-paragraph"><strong>resources/views/edit.blade.php</strong></p>



<p class="wp-block-paragraph"><strong>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;</strong>&lt;!DOCTYPE&nbsp;html&gt;</p>



<p class="wp-block-paragraph">&lt;html&nbsp;lang=&#8221;en&#8221;&gt;</p>



<p class="wp-block-paragraph">&lt;head&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;charset=&#8221;UTF-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;http-equiv=&#8221;X-UA-Compatible&#8221;&nbsp;content=&#8221;IE=edge&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta&nbsp;name=&#8221;viewport&#8221;&nbsp;content=&#8221;width=device-width,&nbsp;initial-scale=1.0&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;Document&lt;/title&gt;</p>



<p class="wp-block-paragraph">&lt;/head&gt;</p>



<p class="wp-block-paragraph">&lt;body&gt;</p>



<p class="wp-block-paragraph">@extends(&#8216;parent&#8217;)</p>



<p class="wp-block-paragraph">@section(&#8216;main&#8217;)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@if&nbsp;($errors-&gt;any())</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;alert&nbsp;alert-danger&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@foreach&nbsp;($errors-&gt;all()&nbsp;as&nbsp;$error)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;{{&nbsp;$error&nbsp;}}&lt;/li&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@endforeach</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@endif</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;align=&#8221;right&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a&nbsp;href=&#8221;{{&nbsp;route(&#8216;crud.index&#8217;)&nbsp;}}&#8221;&nbsp;class=&#8221;btn&nbsp;btn-default&#8221;&gt;Back&lt;/a&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;form&nbsp;method=&#8221;post&#8221;&nbsp;action=&#8221;{{&nbsp;route(&#8216;crud.update&#8217;,&nbsp;$data-&gt;id)&nbsp;}}&#8221;&nbsp;enctype=&#8221;multipart/form-data&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@csrf</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@method(&#8216;PATCH&#8217;)</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;form-group&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;label&nbsp;class=&#8221;col-md-4&nbsp;text-right&#8221;&gt;Enter&nbsp;First&nbsp;Name&lt;/label&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;col-md-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;text&#8221;&nbsp;name=&#8221;first_name&#8221;&nbsp;value=&#8221;{{&nbsp;$data-&gt;first_name&nbsp;}}&#8221;&nbsp;class=&#8221;form-control&nbsp;input-lg&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;form-group&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;label&nbsp;class=&#8221;col-md-4&nbsp;text-right&#8221;&gt;Enter&nbsp;Last&nbsp;Name&lt;/label&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;col-md-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;text&#8221;&nbsp;name=&#8221;last_name&#8221;&nbsp;value=&#8221;{{&nbsp;$data-&gt;last_name&nbsp;}}&#8221;&nbsp;class=&#8221;form-control&nbsp;input-lg&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;form-group&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;label&nbsp;class=&#8221;col-md-4&nbsp;text-right&#8221;&gt;Select&nbsp;Profile&nbsp;Image&lt;/label&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;col-md-8&#8243;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;file&#8221;&nbsp;name=&#8221;image&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;img&nbsp;src=&#8221;{{&nbsp;URL::to(&#8216;/&#8217;)&nbsp;}}/images/{{&nbsp;$data-&gt;image&nbsp;}}&#8221;&nbsp;class=&#8221;img-thumbnail&#8221;&nbsp;width=&#8221;100&#8243;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;hidden&#8221;&nbsp;name=&#8221;hidden_image&#8221;&nbsp;value=&#8221;{{&nbsp;$data-&gt;image&nbsp;}}&#8221;&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;br&nbsp;/&gt;&lt;br&nbsp;/&gt;&lt;br&nbsp;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;div&nbsp;class=&#8221;form-group&nbsp;text-center&#8221;&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;type=&#8221;submit&#8221;&nbsp;name=&#8221;edit&#8221;&nbsp;class=&#8221;btn&nbsp;btn-primary&nbsp;input-lg&#8221;&nbsp;value=&#8221;Edit&#8221;/&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;</p>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/form&gt;</p>



<p class="wp-block-paragraph">@endsection</p>



<p class="wp-block-paragraph">&lt;/body&gt;</p>



<p class="wp-block-paragraph">&lt;/html&gt;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-crud/">LARAVEL CRUD</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/laravel-crud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bootstrap Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/bootstrap-tutorial/</link>
					<comments>https://www.scmgalaxy.com/tutorials/bootstrap-tutorial/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Thu, 11 Mar 2021 11:24:14 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5492</guid>

					<description><![CDATA[<p>INTRODUCTION:- Bootstrap is framework of HTML,CSS and JavaScript for developing responsive websites. It is free to use and download. It [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/bootstrap-tutorial/">Bootstrap Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading">INTRODUCTION:-</h1>



<p class="wp-block-paragraph"><em>Bootstrap is framework of HTML,CSS and JavaScript for developing responsive websites. It is free to use and download. It is front end framework which makes web development faster and easier. It have many HTML and CSS based templates for&nbsp; forms,buttons,tables etc.</em></p>



<p class="wp-block-paragraph"><strong>HISTORY:-</strong></p>



<p class="wp-block-paragraph"><em>Bootstrap was developed by Mark Otto and Jacob Thorton. It was first released as an open source in August 2011.</em></p>



<p class="wp-block-paragraph"><strong>ADVANTAGES:-</strong></p>



<ol class="wp-block-list" type="1"><li><em>Bootstrap is very easy to use.</em></li><li><em>Anyone who have basic knowledge of HTML and CSS can use it very easily.</em></li><li><em>It help users to develop responsive websites very easily.</em></li><li><em>Bootstrap is compatible on most of the browser.</em></li></ol>



<p class="wp-block-paragraph"><strong>BOOTSTRAP CONTAINER:-</strong></p>



<p class="wp-block-paragraph"><em>The container class is used to create boxed content.</em></p>



<p class="wp-block-paragraph"><em>Example:-</em></p>



<ol class="wp-block-list" type="1"><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;</em><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;container&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;row&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;col-md-xx&#8221;</em><em>&gt;&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8230;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;row&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;col-md-xx&#8221;</em><em>&gt;&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8230;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;</em><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li></ol>



<p class="wp-block-paragraph"><strong>BOOTSTRAP JUMBTRON:-</strong></p>



<p class="wp-block-paragraph"><em>The jumptron is used to specify big box for getting extra attention. It is a box with rounded corner. It is used in &lt;div&gt;.</em></p>



<p class="wp-block-paragraph"><em>Example:-</em></p>



<ol class="wp-block-list" type="1"><li><em>&lt;!DOCTYPE&nbsp;html</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;html</em><em>&nbsp;</em><em>lang</em><em>=</em><em>&#8220;en&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;title&gt;</em><em>Bootstrap&nbsp;Example</em><em>&lt;/title&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;meta</em><em>&nbsp;</em><em>charset</em><em>=</em><em>&#8220;utf-8&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;meta</em><em>&nbsp;</em><em>name</em><em>=</em><em>&#8220;viewport&#8221;</em><em>&nbsp;</em><em>content</em><em>=</em><em>&#8220;width=device-width,&nbsp;initial-scale=1&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;link</em><em>&nbsp;</em><em>rel</em><em>=</em><em>&#8220;stylesheet&#8221;</em><em>&nbsp;</em><em>href</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;container&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;jumbotron&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;h1&gt;</em><em>This&nbsp;is&nbsp;Jumbotron&nbsp;inside&nbsp;container!</em><em>&lt;/h1&gt;</em><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;p&gt;</em><em>Jumbotron&nbsp;specifies&nbsp;a&nbsp;big&nbsp;box&nbsp;for&nbsp;getting&nbsp;extra&nbsp;attention&nbsp;to&nbsp;some&nbsp;special&nbsp;content&nbsp;or&nbsp;information.</em><em>&lt;/p&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;p&gt;</em><em>This&nbsp;is&nbsp;some&nbsp;text.</em><em>&lt;/p&gt;</em><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;p&gt;</em><em>This&nbsp;is&nbsp;another&nbsp;text.</em><em>&lt;/p&gt;</em><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em></em></li></ol>



<p class="wp-block-paragraph"><strong>BOOTSTRAP BUTTONS:-</strong></p>



<p class="wp-block-paragraph"><em>There are 7 buttons present in boot strap:</em></p>



<ol class="wp-block-list" type="1"><li><em>.btn-primary</em></li><li><em>.btn-default</em></li><li><em>.btn-info</em></li><li><em>.btn-danger</em></li><li><em>.btn-link</em></li><li><em>.btn-warning</em></li><li><em>.success&nbsp;&nbsp;</em></li></ol>



<p class="wp-block-paragraph"><strong><em>Example:-</em></strong></p>



<ol class="wp-block-list" type="1"><li><em>&lt;!DOCTYPE&nbsp;html</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;html</em><em>&nbsp;</em><em>lang</em><em>=</em><em>&#8220;en&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;title&gt;</em><em>Job</em><em>&lt;/title&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;link</em><em>&nbsp;</em><em>rel</em><em>=</em><em>&#8220;stylesheet&#8221;</em><em>&nbsp;</em><em>href</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css&#8221;</em><em>/&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;h1&gt;</em><em>Button&nbsp;Example!</em><em>&lt;/h1&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-default&#8221;</em><em>&gt;</em><em>default</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-primary&#8221;</em><em>&gt;</em><em>primary</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-danger&#8221;</em><em>&gt;</em><em>danger</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-success&#8221;</em><em>&gt;</em><em>success</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-info&#8221;</em><em>&gt;</em><em>info</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-warning&#8221;</em><em>&gt;</em><em>warning</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;button</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-link&#8221;</em><em>&gt;</em><em>Link</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li></ol>



<p class="wp-block-paragraph"><strong><em>Classes for button size:-</em></strong></p>



<ol class="wp-block-list" type="1"><li><em>.btn-lg</em></li><li><em>.btn-md</em></li><li><em>.btn-sm</em></li><li><em>.btn-xs</em></li></ol>



<p class="wp-block-paragraph"><strong>BOOTSTRAP TABLES:-</strong></p>



<p class="wp-block-paragraph"><em>We can use bootstrap to design different types or table.</em></p>



<p class="wp-block-paragraph"><strong><em>Example:-</em></strong></p>



<ol class="wp-block-list" type="1"><li><em>&lt;!DOCTYPE&nbsp;html</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;html</em><em>&nbsp;</em><em>lang</em><em>=</em><em>&#8220;en&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;title&gt;</em><em>Job</em><em>&lt;/title&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;link</em><em>&nbsp;</em><em>rel</em><em>=</em><em>&#8220;stylesheet&#8221;</em><em>&nbsp;</em><em>href</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css&#8221;</em><em>/&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;container&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;h1&gt;</em><em>Basic&nbsp;Table&nbsp;Example</em><em>&lt;/h1&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;table</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;table&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;tr&gt;&lt;th&gt;</em><em>Id</em><em>&lt;/th&gt;&lt;th&gt;</em><em>Name</em><em>&lt;/th&gt;&lt;th&gt;</em><em>Age</em><em>&lt;/th&gt;&lt;/tr&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;tr&gt;&lt;td&gt;</em><em>101</em><em>&lt;/td&gt;&lt;td&gt;</em><em>Rahul</em><em>&lt;/td&gt;&lt;td&gt;</em><em>23</em><em>&lt;/td&gt;&lt;/tr&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;tr&gt;&lt;td&gt;</em><em>102</em><em>&lt;/td&gt;&lt;td&gt;</em><em>Umesh</em><em>&lt;/td&gt;&lt;td&gt;</em><em>22</em><em>&lt;/td&gt;&lt;/tr&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;tr&gt;&lt;td&gt;</em><em>103</em><em>&lt;/td&gt;&lt;td&gt;</em><em>Max</em><em>&lt;/td&gt;&lt;td&gt;</em><em>29</em><em>&lt;/td&gt;&lt;/tr&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;tr&gt;&lt;td&gt;</em><em>104</em><em>&lt;/td&gt;&lt;td&gt;</em><em>Ajeet</em><em>&lt;/td&gt;&lt;td&gt;</em><em>21</em><em>&lt;/td&gt;&lt;/tr&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/table&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li></ol>



<ul class="wp-block-list"><li><em>&lt;tr&gt; is used for table row.</em></li><li><em>&lt;td&gt; is used for table data.</em></li><li><em>&lt;th&gt; is used for table heading.</em></li></ul>



<p class="wp-block-paragraph"><strong>BOOTSTRAP FORMS:-</strong></p>



<p class="wp-block-paragraph"><em>There are three types of forms in bootstrap.</em></p>



<ol class="wp-block-list" type="1"><li><em>Horizontal form</em></li><li><em>Vertical form</em></li><li><em>Inline form</em></li></ol>



<p class="wp-block-paragraph"><strong><em>Example 1( vertical form):-</em></strong></p>



<ol class="wp-block-list" type="1"><li><em>&lt;!DOCTYPE&nbsp;html</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;html</em><em>&nbsp;</em><em>lang</em><em>=</em><em>&#8220;en&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;title&gt;</em><em>Bootstrap&nbsp;example</em><em>&lt;/title&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;link</em><em>&nbsp;</em><em>rel</em><em>=</em><em>&#8220;stylesheet&#8221;</em><em>&nbsp;</em><em>href</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css&#8221;</em><em>/&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;container&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;h1&gt;</em><em>Vertical&nbsp;Form&nbsp;Example</em><em>&lt;/h1&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;form</em><em>&nbsp;</em><em>style</em><em>=</em><em>&#8220;width:300px&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;label</em><em>&nbsp;</em><em>for</em><em>=</em><em>&#8220;exampleInputEmail1&#8221;</em><em>&gt;</em><em>Email&nbsp;address</em><em>&lt;/label&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;input</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;email&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-control&#8221;</em><em>&nbsp;</em><em>id</em><em>=</em><em>&#8220;exampleInputEmail1&#8221;</em><em>&nbsp;</em><em>placeholder</em><em>=</em><em>&#8220;Email&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;label</em><em>&nbsp;</em><em>for</em><em>=</em><em>&#8220;exampleInputPassword1&#8221;</em><em>&gt;</em><em>Password</em><em>&lt;/label&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;input</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;password&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-control&#8221;</em><em>&nbsp;</em><em>id</em><em>=</em><em>&#8220;exampleInputPassword1&#8221;</em><em>&nbsp;</em><em>placeholder</em><em>=</em><em>&#8220;Password&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;button</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;submit&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-default&#8221;</em><em>&gt;</em><em>Login</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/form&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li></ol>



<p class="wp-block-paragraph"><strong><em>Horizontal form:-</em></strong></p>



<ol class="wp-block-list" type="1"><li><em>&lt;!DOCTYPE&nbsp;html</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;html</em><em>&nbsp;</em><em>lang</em><em>=</em><em>&#8220;en&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;title&gt;</em><em>Bootstrap&nbsp;Example</em><em>&lt;/title&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;meta</em><em>&nbsp;</em><em>charset</em><em>=</em><em>&#8220;utf-8&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;meta</em><em>&nbsp;</em><em>name</em><em>=</em><em>&#8220;viewport&#8221;</em><em>&nbsp;</em><em>content</em><em>=</em><em>&#8220;width=device-width,&nbsp;initial-scale=1&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;link</em><em>&nbsp;</em><em>rel</em><em>=</em><em>&#8220;stylesheet&#8221;</em><em>&nbsp;</em><em>href</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;container&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;h2&gt;</em><em>Horizontal&nbsp;form&nbsp;Example</em><em>&lt;/h2&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;form</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-horizontal&#8221;</em><em>&nbsp;</em><em>role</em><em>=</em><em>&#8220;form&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;form</em><em>&nbsp;</em><em>style</em><em>=</em><em>&#8220;width:300px&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;label</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;control-label&nbsp;col-sm-2&#8221;</em><em>&nbsp;</em><em>for</em><em>=</em><em>&#8220;email&#8221;</em><em>&gt;</em><em>Email:</em><em>&lt;/label&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;col-sm-10&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;input</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;email&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-control&#8221;</em><em>&nbsp;</em><em>id</em><em>=</em><em>&#8220;email&#8221;</em><em>&nbsp;</em><em>placeholder</em><em>=</em><em>&#8220;Enter&nbsp;email&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;label</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;control-label&nbsp;col-sm-2&#8221;</em><em>&nbsp;</em><em>for</em><em>=</em><em>&#8220;pwd&#8221;</em><em>&gt;</em><em>Password:</em><em>&lt;/label&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;col-sm-10&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;input</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;password&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-control&#8221;</em><em>&nbsp;</em><em>id</em><em>=</em><em>&#8220;pwd&#8221;</em><em>&nbsp;</em><em>placeholder</em><em>=</em><em>&#8220;Enter&nbsp;password&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;col-sm-offset-2&nbsp;col-sm-10&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;button</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;submit&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-default&#8221;</em><em>&gt;</em><em>Submit</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/form&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li></ol>



<p class="wp-block-paragraph"><strong><em>Inline form:-</em></strong></p>



<ol class="wp-block-list" type="1"><li><em>&lt;!DOCTYPE&nbsp;html</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;html</em><em>&nbsp;</em><em>lang</em><em>=</em><em>&#8220;en&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;title&gt;</em><em>Bootstrap&nbsp;Example</em><em>&lt;/title&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;meta</em><em>&nbsp;</em><em>charset</em><em>=</em><em>&#8220;utf-8&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;meta</em><em>&nbsp;</em><em>name</em><em>=</em><em>&#8220;viewport&#8221;</em><em>&nbsp;</em><em>content</em><em>=</em><em>&#8220;width=device-width,&nbsp;initial-scale=1&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;link</em><em>&nbsp;</em><em>rel</em><em>=</em><em>&#8220;stylesheet&#8221;</em><em>&nbsp;</em><em>href</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/head&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;container&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;h2&gt;</em><em>Inline&nbsp;form&nbsp;Example</em><em>&lt;/h2&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;form</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-inline&#8221;</em><em>&nbsp;</em><em>role</em><em>=</em><em>&#8220;form&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;form</em><em>&nbsp;</em><em>style</em><em>=</em><em>&#8220;width:300px&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;label</em><em>&nbsp;</em><em>for</em><em>=</em><em>&#8220;exampleInputEmail1&#8221;</em><em>&gt;</em><em>Email&nbsp;address</em><em>&lt;/label&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;input</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;email&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-control&#8221;</em><em>&nbsp;</em><em>id</em><em>=</em><em>&#8220;exampleInputEmail1&#8221;</em><em>&nbsp;</em><em>placeholder</em><em>=</em><em>&#8220;Email&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;div</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-group&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;label</em><em>&nbsp;</em><em>for</em><em>=</em><em>&#8220;exampleInputPassword1&#8221;</em><em>&gt;</em><em>Password</em><em>&lt;/label&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em>&lt;input</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;password&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;form-control&#8221;</em><em>&nbsp;</em><em>id</em><em>=</em><em>&#8220;exampleInputPassword1&#8221;</em><em>&nbsp;</em><em>placeholder</em><em>=</em><em>&#8220;Password&#8221;</em><em>&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;button</em><em>&nbsp;</em><em>type</em><em>=</em><em>&#8220;submit&#8221;</em><em>&nbsp;</em><em>class</em><em>=</em><em>&#8220;btn&nbsp;btn-default&#8221;</em><em>&gt;</em><em>Login</em><em>&lt;/button&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/form&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/div&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em>&lt;script</em><em>&nbsp;</em><em>src</em><em>=</em><em>&#8220;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js&#8221;</em><em>&gt;&lt;/script&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/body&gt;</em><em>&nbsp;&nbsp;</em><em></em></li><li><em>&lt;/html&gt;</em><em>&nbsp;&nbsp;</em><em></em></li></ol>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/bootstrap-tutorial/">Bootstrap Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/bootstrap-tutorial/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BASICS OF ROBOTS</title>
		<link>https://www.scmgalaxy.com/tutorials/basics-of-robots/</link>
					<comments>https://www.scmgalaxy.com/tutorials/basics-of-robots/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Wed, 10 Mar 2021 16:38:51 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5488</guid>

					<description><![CDATA[<p>Variations of Models and Characteristics of Robots Let&#8217;s briefly discusses about the characteristics of robots and various models. The robots [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/basics-of-robots/">BASICS OF ROBOTS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Variations of Models and Characteristics of Robots </strong><em></em></p>



<p class="wp-block-paragraph">Let&#8217;s briefly discusses about the characteristics of robots and various models. The robots are generally assumed as points. The point robots are dimensionless and they occupy no physical space on the plane. While in many problems, the robots are assumed to be three dimensional, are called as fat robots. These fat robots occupy physical space on the plane due to which they can hamper the visibility and movement of other robots.</p>



<p class="wp-block-paragraph">Depending on the type of problem, robots can have different characteristics. Different settings evolve from different assumptions that are made on the robots capabilities. In particular, visibility of the robots, their orientation and directions, ability to store the past information, the computational cycle, etc. During its life, each robot executes four states look, compute, wait and move, this sequence is called computational cycle.</p>



<p class="wp-block-paragraph">We have discussed some simple interactions that can occur between the robots such as aggregation, collision avoidance, dispersion, following and homing. These simple interactions can be used to solve complex task assigned to the robots.</p>



<p class="wp-block-paragraph"><strong>2.1 The Properties of Robots</strong></p>



<p class="wp-block-paragraph">Each robot is assumed to occupy a point on a two dimensional plane. These robots are equipped with sensorial capability that allows them to sense their surroundings. A robot then computes a destination point according to the data it sensed. Finally, robot moves to the destination point it just computed. Moreover, the robots can have the following properties depending upon the type of model it follows:</p>



<ol class="wp-block-list" type="1"><li><strong>Homogeneity</strong>: Robots may be homogeneous or heterogeneous in terms of their hardware and software. Robots are said to be homogeneous if they are identical in terms of shape and size, visibility, computational power, memory, etc. In most of the cases robots are assumed to be homogeneous. However, there are some cases where robots are assumed to be heterogeneous also [25].</li></ol>



<ul class="wp-block-list"><li><strong>Autonomous</strong>: Robots are said to be autonomous if they do not depend on any central coordination system. But, in many cases system has been found to be centralized also.</li></ul>



<ul class="wp-block-list"><li><strong>Mobility</strong>: The ability of a robot to move on plane is called mobility of the robot. Motorial capability of robot allows them to move on a plane.</li></ul>



<ul class="wp-block-list"><li><strong>Anonymity</strong>: The robots are said to be anonymous if they do not have any identification that they can use during the computation. However, in some cases robots may not be anonymous.</li></ul>



<ul class="wp-block-list"><li><strong>Memoryless</strong>: Some robots have the capability to store and use the past information, while some robots do not have this capability called oblivious.</li></ul>



<ul class="wp-block-list"><li><strong>Communication</strong>: Robots cannot communicate explicitly with each other. It happens by means of observing the positions of other robots in the plane.</li></ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/basics-of-robots/">BASICS OF ROBOTS</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/basics-of-robots/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Brief Description about Laravel App directory</title>
		<link>https://www.scmgalaxy.com/tutorials/brief-description-about-laravel-app-directory/</link>
					<comments>https://www.scmgalaxy.com/tutorials/brief-description-about-laravel-app-directory/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Sat, 06 Mar 2021 09:47:10 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5440</guid>

					<description><![CDATA[<p>Laravel App Directory The app directory has the base code for the application. The app directory contains variety of&#160; directories [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/brief-description-about-laravel-app-directory/">Brief Description about Laravel App directory</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading">Laravel App Directory</h1>



<p class="wp-block-paragraph"><strong>The app directory has the base code for the application. The app directory contains variety of&nbsp; directories like console,Http,providers etc. These directories are created by the make artisan command which we use to generate classes.</strong></p>



<p class="wp-block-paragraph"><strong><em>The directories inside app directory are:-</em></strong></p>



<p class="wp-block-paragraph"><strong><em>1.Broadcasting Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>2.Console Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>3.Events Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>4.Exception Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>5.Http Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>6.Jobs Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>7.Listners Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>8.Mail Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>9.Notification Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>10.Policies Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>11.Providers Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>12.Rules Directory</em></strong></p>



<p class="wp-block-paragraph"><strong><em>1.Broadcasting Directory:- </em></strong><em>All the broadcasting channels are stored in broadcasting Director. These channels are generated by <strong>make:model</strong> command. This directory doesn’t exist by default. It will be created when we create our first channel.</em></p>



<p class="wp-block-paragraph"><strong><em>2.Console Directory:- </em></strong><em>The console directory contains all of the project artisian commands for the application. These commands are generated by using <strong>make:command</strong> command. This directory is also house for krenal.php where custom artisian commands are registered and tasks are defined.</em></p>



<p class="wp-block-paragraph"><strong><em>3.Events Directory:-</em></strong><em>The event directory holds the events files that the laravel application may pop up. This directory doesn’t exist by default, but will be created by <strong>event:generate</strong> and <strong>make:event</strong> Artisian commands.</em></p>



<p class="wp-block-paragraph"><strong><em>4.Exception Directory:-</em></strong><em>This directory holds all the exception handling files. The exception thrown by the application is stored in this directory. We can customize how the exceptions are logged or rendered by modifying the handler class in the directory.</em></p>



<p class="wp-block-paragraph"><strong><em>5.Http directory</em></strong><em>:- This directory contains controllers,middlewares, and form requests. All of the logic to handle requests entering your application will be placed in this directory.</em></p>



<p class="wp-block-paragraph"><strong><em>6.Jobs Directory:- </em></strong><em>This directory doesn’t exist by default. It will created by make:job Artisan command.</em> <em>The job directory holds all lineup jobs in this directory.</em></p>



<p class="wp-block-paragraph"><strong><em>&nbsp;7.Listners Directory:-</em></strong><em> This directory doesn’t exist by default. It will created by <strong>event:generate</strong> or <strong>make:listeners</strong> Artisan command. This directory contains the classes that handle your events.</em></p>



<p class="wp-block-paragraph"><strong><em>8.Mail Directory:- :-</em></strong><em> This directory doesn’t exist by default. It will created by <strong>make:mail</strong> Artisan command.This directory holds all the emails send by th e laravel project.</em></p>



<p class="wp-block-paragraph"><strong><em>9.Notification Directory:-</em></strong><em> This directory doesn’t exist by default. It will created by <strong>make:notification </strong>Artisian command.This directory conatins all of the transactional notification that are sent by your application.</em></p>



<p class="wp-block-paragraph"><strong><em>10.Policies Directory:-</em></strong><em> This directory doesn’t exist by default. It will created by <strong>make:policy </strong>Artisian command. This directory holds the different policies of your laravel project.</em></p>



<p class="wp-block-paragraph"><strong><em>11.Providers Directory</em></strong><em>:- This directory is used for containing containing different service providers.</em></p>



<p class="wp-block-paragraph"><strong><em>12.Rules Directory:-</em></strong><em> This directory doesn’t exist by default. It will created by <strong>make:rule </strong>Artisian command.</em> <em>The rules directory contains the custom validation rule objects for your application. Rules are used to encapsulate complicated validation logic in a simple object.</em></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/brief-description-about-laravel-app-directory/">Brief Description about Laravel App directory</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/brief-description-about-laravel-app-directory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to Laravel</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-laravel-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-laravel-2/#respond</comments>
		
		<dc:creator><![CDATA[shashank K]]></dc:creator>
		<pubDate>Wed, 03 Mar 2021 07:08:14 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=5394</guid>

					<description><![CDATA[<p>What is Laravel? Laravel is PHP framework, which is easy to understand and robust and open source also. It also [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-laravel-2/">Introduction to Laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>What is Laravel?</strong></p>



<p class="wp-block-paragraph"><strong><em>Laravel is PHP framework, which is easy to understand and robust and open source also. It also offer the rich set of functionalities that incorporates the basic features of PHP framework such as Codelgniter, yii, and other programming languages like Ruby on Rails. It is a PHP framework that uses the MVC architecture.</em></strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>MVC vs NON-MVC</strong>:</p>



<p class="wp-block-paragraph"><strong><em>Let&#8217;s first understand the MVC architecture.</em></strong></p>



<p class="wp-block-paragraph"><strong><em>MVC stands for Model-View Controller. It is a software design pattern by which creation of huge applications becomes easy. It does not belong to specific programming language or framework, but it is a concept that you can use creating any kind of application or software in any programming language.</em></strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>Advantages:</strong><strong><em></em></strong></p>



<p class="wp-block-paragraph"><strong><em>Easy to update the application.</em></strong></p>



<p class="wp-block-paragraph"><strong><em>Easy for the developers to collaborate and wor together.</em></strong></p>



<p class="wp-block-paragraph"><strong><em>East to debug because of multilevel properly written application.</em></strong></p>



<p class="wp-block-paragraph"><strong><em>Development becomes fast.</em></strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>Disadvantages</strong>:</p>



<p class="wp-block-paragraph"><strong><em>MVC architecture is little bit difficult to understand.</em></strong></p>



<p class="wp-block-paragraph"><strong>Setting up laravel project:</strong></p>



<p class="wp-block-paragraph"><strong><em>How to set up a Laravel Project</em></strong></p>



<p class="wp-block-paragraph"><strong><em>Setting up laravel project is very easy task.</em></strong></p>



<p class="wp-block-paragraph"><strong><em>First we need to install composer and xampp in our system. The open command prompt in xampp\htdocs&nbsp; file.</em></strong></p>



<p class="wp-block-paragraph"><strong><em>Install laravel there. The command to install laravel is – composer global require “laravel/installer=~1.1” (NOTE= 1.1 is a larvael version)</em></strong></p>



<p class="wp-block-paragraph"><strong><em>After installation of laravel we need to create a project. The command to a&nbsp; create project is- composer create-project—prefer-dist laravel/laravel blog”5.8.*” (NOTE: blog is name of the project, so we can give any name.)</em></strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>Understanding the folder structure:</strong></p>



<p class="wp-block-paragraph"><strong><em>After the laravel project is created, different types of files and folders are created. All the files and folder help us in writing codes</em></strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>List of folders created<em>:</em></strong></p>



<p class="wp-block-paragraph"><strong><em>1.App</em></strong></p>



<p class="wp-block-paragraph"><strong><em>2. Bootstrap</em></strong></p>



<p class="wp-block-paragraph"><strong><em>3. Config</em></strong></p>



<p class="wp-block-paragraph"><strong><em>4.Database</em></strong></p>



<p class="wp-block-paragraph"><strong><em>5. Public</em></strong></p>



<p class="wp-block-paragraph"><strong><em>6.Resources</em></strong></p>



<p class="wp-block-paragraph"><strong><em>7.Routes</em></strong></p>



<p class="wp-block-paragraph"><strong><em>8. Storage</em></strong></p>



<p class="wp-block-paragraph"><strong><em>9. Tests</em></strong></p>



<p class="wp-block-paragraph"><strong><em>10. vendor</em></strong></p>



<p class="has-black-color has-text-color wp-block-paragraph"><strong>1. APP:-</strong><strong><em> The app directory contains the base code of the application.</em></strong></p>



<p class="wp-block-paragraph"><strong>2. Bootstrap:- <em>The bootstrap directory containd all the app.php files and bootstrapping scripts uded for the application. In this directory there is cache directory which contains framework generated files for performance optimization such as the route and services cache files.</em></strong></p>



<p class="wp-block-paragraph"><strong>3.Config:-</strong><strong><em> As the name implies, this directory contains all the configuration files.</em></strong></p>



<p class="wp-block-paragraph"><strong>4. Database:- </strong><strong><em>Database directory contains all the Database files.</em></strong></p>



<p class="wp-block-paragraph"><strong>5. Public:- </strong><strong><em>In public directory contains the index.php file, which is the entry point for all request entering the application and configures the autoloading. This directory maintains all the other important files like&nbsp; Javascript, CSS and images.</em></strong><strong>&nbsp;</strong></p>



<p class="wp-block-paragraph"><strong>6.Resources</strong><strong><em>:- Resources directory contains the views and&nbsp; un-compiled assets like CSS and JavaScript. It also contains language files, sas files and templetes(if any).</em></strong></p>



<p class="wp-block-paragraph"><strong>7.Routes:-</strong><strong><em>In routes directory all the laravel routes are defined in routes file. It contain the definition files for routing such as api.php, wed.php etc.</em></strong></p>



<p class="wp-block-paragraph"><strong>8. Storage:- </strong><strong><em>The storage directory contains file based sessions, file caches, compiled blade templates and many other files which are created by the framework. This is segregated into framework, app and logs directories.</em></strong><strong><em></em></strong></p>



<p class="wp-block-paragraph"><strong>9. Tests:- Test directories holds all the test cases.</strong></p>



<p class="wp-block-paragraph"><strong>10. Vendor:- The vendor directory holds all composer dependency files.</strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>A Quick intro to the Artisian Command line Interface</strong></p>



<p class="wp-block-paragraph"><strong>&nbsp;</strong><strong><em>Artisian is a command line interface which is &nbsp;frequently used in laravel and it have set of helpful commands for developing a web application.</em></strong></p>



<p class="has-vivid-red-color has-text-color wp-block-paragraph"><strong>Few commands of Artisian:-</strong></p>



<ol class="wp-block-list" type="1"><li><strong>php artisian server (To start Laravel project)</strong></li><li><strong>php artisian route:cache (To enable caching mechanism)</strong></li><li><strong>php artisian list (To view the lit of available commands supported by Artisian)</strong></li><li><strong>php artisian help serve (to view help about any command and view the available options and arguments)</strong></li></ol>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-laravel-2/">Introduction to Laravel</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-laravel-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
