SSH Command for excluded specific subdirectories when zipping a directory. I need to backup my website but I need to exclude a couple of subdirectories content all files and folders. […]
SSH Linux Command for Putty Client – All MySQL Line commands for maintain MySQL database
How to manage MySQL user account, update records, insert records, login into SSH MySQL, and another SSH command for help to learn MySQL in SSH. List of all commands used […]
React Tutorial : Basic Form of React Code
Basic Form of React. import React, { useState } from ‘react’; // JS // const input = document.getElementById(‘myText’); // const inputValue = input.value // React // value, onChange const ControlledInputs […]
React: Create Simple Counter Use Function, Inline CSS and Call function in React
React: Create Simple Counter Use Function, Inline CSS and Call function in React import React, { useState } from ‘react’; const UseStateCounter = () => { const [value, setValue] […]
Responsive with SASS Mixin use breakpoint on if condition
Responsive with SASS Mixin use breakpoint on if the condition SCSS Code _mixins.scss code @mixin response($breakpoint) { @if($breakpoint == xl){ @media(max-width: 1200px){ @content; } } @if($breakpoint == lg){ @media(max-width: 1000px){ […]
@each Loop with Index SASS Code
SCSS Code $socialMediaColors : 1 #3b5998, 2 #b31217, 3 #dc4e41, 4 #55acee, 5 #517fa4, 6 #0077b5; @each $color in $socialMediaColors { .social-icons-item:nth-child(#{nth($color, 1)}) .social-icons-link{ color: nth($color, 2); border: .1rem solid […]
How to Check domain, URL or link does not has http or https and end with slash
Check a link start with HTTP or HTTPS How to check a link not start with http:// or https:// below code helps to add and find link does has it […]
Create First React Component
import React from ‘react’; import ReactDom from ‘react-dom’; function Greeting(){ return( <div> <h4> this is john and this is my first componenet; </h4> </div> ); } ReactDom.render(<Greeting />, document.getElementById(‘root’)); Create […]
how to remove increase and decrease number arrow when use input type number in form
Remove arrow when using input number. Facing problem with increase and decrease number arrow when using input type number in form or Ajax request fields. Use Below CSS Code input[type=”number”]::-webkit-outer-spin-button, […]
JavaScript Operator and &&, or || define with logical condition
JavaScript Operator && (AND), ||(OR). They perform some operations on single or multiple values and provide results. and like that double pipes represent the logical OR operator. Logical AND Operator […]
