Ervin Adams

66 total posts

x = 1 if x == 1:

# indented four spaces

print("x is 1.")

sql right join

sql right join

sql left join

sql left join
Tags: join mysql sql

Connect to remote repo in Github

How to connect to remote repository in Github

Convert an array to a string PHP

How to convert an array to a string in PHP

Create basic HTML template

How to create a basic html 5 template

Install multiple version of PHP on Xampp

How to use multiple version of PHP on Xampp
Tags: php xampp apache

How to install Livewire to Laravel

How to install Livewire to Laravel 9

An email must have a "From" or a "Sender" header

An email must have a "From" or a "Sender" header
Tags: env laravel mail

Delay execution of script in JavaScript

How to delay execution of script in JavaScript

Get the length of a string in JavaScript

How to get the length of a string using JavaScript

Remove duplicate values from array in JavaScript

How to remove duplicate values from array using JavaScript

Stop a for loop in JavaScript

How to stop a for loop in JavaScript

Uncaught TypeError: Cannot read properties of undefined (reading 'state')

Uncaught TypeError: Cannot read properties of undefined (reading 'state')
Tags: react state bind

Get the letter at specific position in a string JavaScript

How to get letter at specific position in a string JavaScript

How to convert percentage to decimal in JavaScript

How to convert percentage to decimal using JavaScript

Add key/value pair to object in JavaScript

How to add key/value pair to object using JavaScript

How to know if date is yesterday in JavaScript

How to know if date is yesterday using JavaScript

How to check if date is x days in the past from today in JavaScript

How to check if date is x amount of days in the past from now using JavaScript

How to disable button in JavaScript

Disable a button using JavaScript

How to get the first element by class name in JavaScript

How to get the first element by class name using JavaScript

How to get last element by class name in JavaScript

How to get last element using a class name using JavaScript

How to remove a class from all elements in JavaScript

how to remove a class from all elements using JavaScript

How to add a class when creating a div

How to add a class when creating a div element

How to clear content of div in JavaScript

How to clear content of div using JavaScript

Add image to a div in JavaScript

Add image element to a div using JavaScript

Clear textarea Jquery

How to clear textarea on button click using Jquery

Clear textarea JavaScript

How to clear textarea on button click using JavaScript

Append to array PHP

How to add more data to an array in PHP
Tags: array php php8

Append to array JavaScript

How to add more data to an array in JavaScript

Clear input field after submit in JavaScript

Clear input field after submit in JavaScript

Loop video in HTML 5

Loop video using HTML 5

Autoplay video HTML 5

Autoplay video in HTML 5

How to play video in HTML 5

How to play video in HTML 5
Tags: html html5 video

Change color on multiple text elements on mouseover using JavaScript

Change color on multiple text elements on mouseover using JavaScript

Change text color on mouseover using JavaScript

Change text color on mouseover using JavaScript

How to check if date is in the past or future in JavaScript

How to check if date is in the past or future in JavaScript

How to convert date to seconds in JavaScript

How to convert date to seconds in JavaScript

Open a link in a new tab using the anchor tag in JavaScript

Open a link in a new tab using the anchor tag in JavaScript

Open a link in a new tab on button click in JavaScript

Open a link in a new tab on button click in JavaScript

How to check if first character in string is a letter in JavaScript

How to check if first character in string is a letter in JavaScript

Adjacent JSX elements must be wrapped in an enclosing tag

Adjacent JSX elements must be wrapped in an enclosing tag
Tags: jsx react reactjs

How to change border color on multiple input fields

How to change border color on multiple input fields
Tags: border css input

how to change border color on input field in React and css

how to change border color on input field in React and css

How to convert object to string in react js

How to convert object to string in react js

How to pass data to components through router in react js

How to pass data to components through router in react js

Add an id attribute to an element using JavaScript

Add an id attribute to an element using JavaScript

How to set placeholder on select drop down in React

How to set placeholder on select drop down in React

React bootstrap modal in class component

React bootstrap modal in class component

Laravel get current url

How to get current url in laravel 8

How to view pages on Symfony 6

How to view pages on Symfony 6

How to connect to mysql database in xampp on Symfony project

How to connect to mysql database in xampp on Symfony project

How to set up a Symfony 6 project on Xampp

How to set up a Symfony 6 project on Xampp

How to use a for loop in real world coding

How to, and why use a for loop in real world coding, a beginners guide

How to create react bootstrap nav sidebar

How to create react bootstrap nav sidebar

Highlight selected item in a list React js

How to highlight selected item in a list React js

How to work with multiple checkbox in React

How to work with multiple checkbox in React Js to change styling

How to download image in Laravel 8

How to download image from storage in Laravel 8

How to create dynamic pages in React Js

How to create dynamic pages using higher order components (HOC) in React Js

How to add new column to existing table in Laravel 8

How to add new column to existing table in Laravel 8 using migration commands

How to install Composer on Windows

How to install Composer on Windows 10 for PHP development

Laravel 8 session flash message

Using Laravel session helper to display flash message

How to upload image in Laravel 8

How to upload image example in Laravel 8

How to create a React App in current directory

How to create a React App in current directory

How to create form validation in Laravel 8

How to create form validation in Laravel 8

Laravel 8 CSV and Excel Import using Maatwebsite

Basic Import of an Excel or CSV file using Laravel Maatwebsite package

Custom Middleware in Laravel 8

Create Laravel custom middleware to check age using Laravel 8