Useful Commands & Techniques
How to get the number of DOM elements used in a web page? document.getElementsByTagName('*').length
How to get the number of DOM elements used in a web page? document.getElementsByTagName('*').length
Install React Query npm i @tanstack/react-query@4.28 Edit main.tsx import "bootstrap/dist/css/bootstrap.css"; import React from "react"; import ReactDOM from "react-dom/client"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import App from "./App"; import…
Table of Contents PHP Coding Conventions All PHP files must end in .phpStatements (or commands) in PHP end with a semicolon (;)If you want to include comments, which are nonfunctional…
Install Installation instruction:https://wp-cli.org/#installing curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar php wp-cli.phar --info chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp To test the installation: wp --info Commands Each command starts with: wpNext you need…
Open files in programs from command line tool Mac open -a 'google chrome' /yourPath // open a file Google Chrome code . // Open a folder in Visual Studio Code…
What is JavaScript? JavaScript is a dynamic, weakly typed programming language that is compiled at runtime. JavaScript was created to make web pages dynamic. Originally was called LiveScript but due…
Table of Contents The majority of online experiences involve search 68% of online experiences begin with a search engine. 53% of all website traffic comes from organic search. 93% of…