Skip to main content

Posts

What is Kruti Dev and how to download ?

  Kruti Dev is a popular typeface or font used primarily for typing in the Devanagari script, which is the script for Hindi, Marathi, and other Indian languages. It is widely used in government offices, printing presses, and other organizations in India for Hindi typing. Key Features of Kruti Dev: It is a non-Unicode font, meaning it does not follow the modern Unicode standard. Instead, it uses legacy encoding, which is different from Unicode fonts like Mangal. Kruti Dev fonts are available in various styles and sizes (e.g., Kruti Dev 010, Kruti Dev 020). It requires specific software or a keyboard layout to type effectively. How to Download Kruti Dev Font Official Sources: The font can often be downloaded from trusted websites offering Hindi typing tools or fonts. Ensure the site is reputable to avoid downloading malicious software. Steps to Download: Search for "Download Kruti Dev font" online. Visit a trusted source, such as: www.indiatyping.com www....

How to write SQL query with PHP to calculate the sum of sales?

 There are the following steps to create a php project to calculate the sum of sales.     Code of index. php: <?php // Database connection $servername = "localhost"; $username = "root"; $password = ""; $dbname = "marks_sheet"; try{ // Create a connection $conn = new PDO("mysql:host=$servername;dbname=$dbname",$username,$password); $conn->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION); }catch(PDOException $e){   echo "Error in connection:".$e->getMessage(); } // Write the SQL Query to calculate the sum $sql = "SELECT SUM(amount) AS total_amount FROM sales"; //Execute the query $stmt = $conn->prepare($sql); $stmt->execute(); //Fetch the result $result = $stmt->fetch(PDO::FETCH_ASSOC);?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style t...

How to use Microsoft Excel sumif function?

 The SUMIF function in Microsoft Excel is used to sum the values in a range that meet a specific condition. Here's how to use it: Syntax: SUMIF(range, criteria, [sum_range]) Parameters: range : The range of cells you want to evaluate against the criteria. criteria : The condition that determines which cells to include in the sum. This can be a number, expression, text, or a cell reference. sum_range (optional): The actual range of cells to sum. If omitted, Excel sums the cells in the range parameter. Example 1: Basic Usage Problem : Sum all sales greater than 100. A B Sales Region 50 North 200 East 150 West 80 South Formula: =SUMIF(A2:A5, ">100") Result: 350 (sum of 200 and 150). Example 2: Using a sum_range Problem : Sum sales in the "East" region. A B C Sales Region Month 50 North Jan 200 East Feb 150 West Mar 80 South Apr Formula: =SUMIF(B2:B5, "East", A2:A5)...

How to create a simple shopping project using HTML, CSS and JavaScript?

 Below is the complete shopping project with all necessary features are required. Let's follow the step by step process: index. html page code: <!DOCTYPE html> <html lang="en"> <head>   <meta charset="UTF-8">   <meta name="viewport" content="width=device-width, initial-scale=1.0">   <title>Online Shop</title>   <link rel="stylesheet" href="style.css"> </head> <body>   <!-- Header -->   <header class="header">     <div class="logo">ShopLogo</div>     <nav class="nav">       <a href="#">Home</a>       <a href="#products">Products</a>       <a href="#cart">Cart</a>       <a href="#contact">Contact</a>     </nav>   </header>   <!-- Hero Section -->   <section class="hero">     <h1...

Top Date related Microsoft Excel functions.

 Microsoft Excel provides a wide range of date-related functions that can help with date manipulation, calculation, and formatting. Here are some of the top date functions in Excel: 1. TODAY() Purpose : Returns the current date. Example : =TODAY() will return the current date, updating every day. 2. NOW() Purpose : Returns the current date and time. Example : =NOW() will return the current date and time, updating every time the worksheet recalculates. 3. DATE(year, month, day) Purpose : Creates a date from the specified year, month, and day. Example : =DATE(2024, 12, 21) will return December 21, 2024. 4. YEAR(date) Purpose : Extracts the year from a date. Example : =YEAR("2024-12-21") will return 2024 . 5. MONTH(date) Purpose : Extracts the month from a date. Example : =MONTH("2024-12-21") will return 12 . 6. DAY(date) Purpose : Extracts the day from a date. Example : =DAY("2024-12-21") will return 21 . 7. WEEKDAY(date,...

How to use Microsoft Excel IPMT and PPMT functions?

  Here’s a step-by-step guide to creating a loan amortization table in Excel. Step 1: Input Loan Details Open a new Excel workbook. Enter the loan details in the top rows: Loan Amount (PV): 10000 Annual Interest Rate: 6% Loan Term (Years): 5 Payments per Year: 12 Calculate derived values: Monthly Interest Rate: =B2/B4 Total Periods (Nper): =B3*B4 Step 2: Set Up the Table Create column headers: Period | Payment | Interest (IPMT) | Principal (PPMT) | Balance Start with Period 0 and enter the loan amount as the initial balance. Step 3: Calculate Payments In the first row under Payment (e.g., cell C8), calculate the constant monthly payment using the PMT function: =PMT(B5, B6, -B2) Step 4: Calculate Interest and Principal In the Interest column (e.g., D9), use the IPMT function: =IPMT($B$5, A9, $B$6, -$B$2) Copy this formula down the column for each period. In the Principal column (e.g., E9), use the PPMT function: =PPMT($B$5, A9, $B$6, -$B$2) Copy this ...

Create a Confirm Modal Box-HTML, CSS, Javascript

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> .confirm-box{ background-color: rgba(0, 0, 0, 0.5); width:100%; height:100%; position: fixed; top:0; left:0; z-index: 9999; display: flex; justify-content: center; align-items: center; } .message-box{ background-color:#fff; text-align: center; font-family:arial; font-family:16px; line-height: 1.5; padding:20px; border-radius:5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); } .button-box{ margin-top:30px; } .yes-button,.no-button{                               padding:10px 20px;                             ...