JavaScript(DOM) Click event

The onClick event is the commonly used events in JavaScript. It action occurs when an element is clicked . How to onClick event works First, you have…

Read More

Php file not working in localhost(browser)

Php file not working in localhost(browser) or it show’s previous projects, then try this First turn off your XAMPP server then Go to vhost C:\xampp\apache\conf\extra Open vhost…

Read More

How to Delete pages from pdf file in JavaScript

we need JavaScript libraries: pdf.js: “https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.12.313/pdf.min.js” pdf-lib: “https://unpkg.com/pdf-lib@1.3.0” //This library helps to delete pages. downloadjs: “https://unpkg.com/downloadjs@1.4.7” //use for download attachment Make a index.html file save and run…

Read More

Error Class ‘App\Http\Controllers\StreamReader’ not found laravel issue

I got this error when I convert my php code( PDf cutter) to laravel but i got some issue in Controller. I think there is issue in…

Read More

In Laravel, Generate PDF from Using DOM PDF

First we have to create project in htdocs Ex: pdfcreator Then go inside the project Then we have to install composer $ composer require barryvdh/laravel-dompdf Now serve…

Read More

XAMPP error (not loading your local site)

If your local site not loading to browser then it might be .htaccess error 1st step: GOTO the .htaccess file and remove this lines of code. 2nd…

Read More

NOT Found the request URL was not found(laravel)

When ever you got error as a Not found URL 1st step:- Turn off the XAMPP server (apache, mySQL) 2nd step: GOTO this path GOTO –> C:\xampp\apache\conf\extra\httpd-vhosts.conf…

Read More

Targeting methods in Javascript (querySelector)

querySelector       document.querySelector(CSS Selector) querySelectorAll  document.querySelectorAll(CSS Selector) querySelector()  The querySelector() method returns the first Element within the document that matches the specified selector, or group of selectors. It…

Read More

JAVASCRIPT METHODS

length // it is a property toLowerCase() toUpperCase() Includes() startsWith() endsWith() search() match() indexOf() lastIndexOf() replace() trim() charAt() charCodeAt() fromCharCode() concat() Split() repeat() slice() substr() substring() toString()…

Read More

Array in JavaScript

What is array? In JavaScript, the array is a single variable that is used to store different elements. It is often used when we want to store…

Read More