Create Digital Alarm Clock With Ringtone & Custom Icons in JavaScript HTML5 CSS3

Create Digital Alarm Clock With Ringtone & Custom Icons in JavaScript HTML5 CSS3

In this tutorial, I will teach you how to create a Digital Alarm Clock with Ringtone using HTML5, CSS3, and JavaScript. The…

October 8, 2022

Build English Dictionary App Using JavaScript HTML5 CSS3

index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> * { padding:…

July 6, 2022

jsPDF Html2Canvas Tutorial: Convert Div With Attribute Hidden to PDF and Print it in Browser Using HTML5 and JavaScript

In this tutorial, you will learn how to use jsPDF Html2Canvas to print hidden div. To hide an HTML tag;…

September 18, 2022

Angular 13 jsPDF Html2Canvas Project: Export Multiple HTML Div Content in Different PDF Pages Using TypeScript

On the Angular 2 framework (now Angular 13), you can use the step-by-step logic mentioned below: On click execute generateAllPdf()…

July 6, 2022

jsPDF Html2Canvas Project: Export HTML With Multiple Graphs Plotted to PDF Document in JavaScript

index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <div id="total"…

July 6, 2022

jsPDF Html2Canvas Project: Export Multiple Google Charts from Webpage to PDF Document in JavaScript

It seems that the code works but doesn’t scale too well. It’s possible that by performing all operations in parallel,…

July 6, 2022

PHP 7 jsPDF Html2Canvas Example: Send Generated PDF as Email Attachment to Client Using JavaScript

index.php <?php function MailWithAttachment($to, $subject, $message, $senderMail, $senderName, $files){ $from = $senderName." <".$senderMail.">"; $headers = "From: $from"; // boundary $semi_rand…

July 6, 2022

PHP 7 FPDF Example: Create PDF Document From Text File Using Javascript

index.php <?php require('fpdf/fpdf.php'); class PDF extends FPDF { // Function to set the document header function Header() { global $title;…

July 6, 2022

PHP 7 FPDF Example: Add TrueType Fonts inside PDF Document

index.php <?php define('FPDF_FONTPATH','./'); require('fpdf/fpdf.php'); $pdf=new FPDF(); // Add new font from the calligra.php file $pdf->AddFont('Calligrapher','','calligra.php'); //Add a new page $pdf->AddPage();…

July 6, 2022

jsPDF Autotable Tutorial: Give Different Widths to Columns & Rows of Table in PDF Document

You have to convert your columnWidth array to look like this: doc.autoTable({ html: '#table', columnStyles: { 0: {cellWidth: 100}, 1:…

July 6, 2022