Skip to main content

Command Palette

Search for a command to run...

Javascript Star Patterns 3

Updated
1 min readView as Markdown
Javascript Star Patterns 3
D

I am a Web Developer from Birtamode 1 Jhapa Nepal. As of 2022 i have 3 years of experience in CSS and 1 year of experience in Javascript + 6 Months of Experince in Node.js

Javascript Star Patterns Learn How to make patterns in Javascript. This Practical Will help You to learn Javascript Nested

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>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <script src="script.js"></script>
</body>
</html>

CSS

*{
    font-size:2rem;
}

JAVASCRIPT

let n=6;
for(let i=n;i>=1;i--){
    for(let j=i;j>=1;j--){
        document.write('*');
    }
    document.write('<br>');
}
N

Kudos for the excellent article.

Below is a good read about the design pattern for the database layer: medium.com / towards-polyglot-architecture / design-patterns-for-the-database-layer-7b741b126036

More from this blog

D

Dipesh Murmu

46 posts

A Full-Stack Laravel Developer with expertise in HTML, CSS, JavaScript, Tailwind, and core PHP. Leveraging the power of Laravel, I specialize in creating dynamic and responsive web applications.