ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Printing star and number patterns in JavaScript

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ส.ค. 2024
  • In this video lesson we are exploring the topic Printing star and number patterns in JavaScript. In thon wis video lesse will see how we can create stars and number patterns using nested loops.
    To understand the whole concept, watch the video till the end.
    So, let's begin! Wish you happy learning!
    spartakrish,mysteriokrish
    #Krishnalede,#Learnjswithperfection,#KrishTechhq
    Don't forget to subscribe my channel.
    FB Page: / krishtechhq
    Keywords:
    1. HTML
    2. HTML Basic
    3. HTML Advance
    4. CSS
    5. CSS3
    6. HTML5
    7. How to
    8. Hindi
    9. Urdu
    10. Easy Learn
    11. Free Tutorials
    12. JavaScript
    13. javascript tutorial for beginners
    14. javascript tutorial
    15. javascript tutorial for beginners in hindi
    16. javascript tutorial advanced
    17. javascript interview questions and answers
    18. javascript tutorial with examples
    19. javascript tutorial video
    20. Krishna Lede
    21. Tech HQ
    22. Printing star and number patterns in JavaScript
    23. Number table
    24. displaying patterns
    25. stars in rows and columns
    ==🔥🔥 Important Links 🔥🔥 ==
    1) Learn JavaScript - Step by Step: First Program in Hindi:
    • Learn JavaScript - Ste...
    2) Area of circle | Circumference of circle:
    • Area of circle | Circu...
    3) javascript calculate 2 numbers | javascript subtraction :
    • javascript calculate 2...
    4) How to create variables in javascript | javascript variables : • How to create variable...
    5) if Statement in JavaScript (Hindi) - • if Statement in JavaSc...
    6) if else statements in JavaScript(Hindi) - • if else statements in ...
    7) For loop in JavaScript in Hindi [ JavaScript in HIndi ]- • For loop in JavaScript...
    8) javascipt in hindi | for loop | javascript - • javascipt in hindi | f...
    9) javascipt in hindi | for loop | javascript - • javascipt in hindi | f...
    10) Nested for Loop in Javascript (Hindi) - • Nested for Loop in Jav...
    11) How to print 1 to 10 table in JavaScript| Table 1 to 10 js - • How to print 1 to 10 t...
    12) Printing star and number patterns in JavaScript - • Printing star and numb...
    13) while loop in JavaScript Hindi | while loop JavaScript - • while loop in JavaScri...
    14) do while loop in JavaScript Hindi - • do while loop in JavaS...
    15) JavaScript switch statement | switch statement in js - • JavaScript switch stat...
    16) modulus operator in JavaScript hindi - • modulus operator in Ja...
    17) JavaScript Functions Explained - For Complete Beginners - • JavaScript Functions E...
    18) User Defined Functions in JS Part 2 Hindi | JavaScript Hindi Tutorials - • User Defined Functions...
    19) User Defined Functions Part 3 | JavaScript Hindi Tutorial -
    20) Returning Boolean value from a function | Check for prime - • Returning Boolean valu...
    21) Event Driven Programming in JavaScript | Onchange Event | Calculations without Button - • Event Driven Programmi...
    22) Dice Program In JavaScript (like Snake and Ladders or Ludo) | JavaScript Hindi Tutorials - • Dice Program In JavaSc...
    23) Creating Pattern in JavaScript| Number Pattern in JavaScript - • Creating Pattern in Ja...
    24) Default arguments in JavaScript | default arguments in JS - • Default arguments in J...
    25) Alphabet Pattern in JavaScript | Printing Patterns in JS - • Alphabet Pattern in Ja...
    26) Blank Rectangle Pattern in JavaScript | Rectangle Pattern in JavaScript - • Blank Rectangle Patter...
    27) How to Create Star Pattern in JavaScript | Pattern in JavaScript - • How to Create Star Pat...
    28) Creating Diamond Pattern in JavaScript | Star pattern in Js - • Creating Diamond Patte...
    29) Break statement in JavaScript | break in JavaScript - • Break statement in Jav...
    30) continue statement in JavaScript | Continue in JavaScript - • continue statement in ...
    31) function declaration | function declaration js - • function declaration |...
    32) Need an arrays in Js | Why we Need an array in JavaScript - • Need an arrays in Js |...
    33) What is an arrays in JavaScript | What is JavaScript array? - • What is an arrays in J...
    34) Initialize an array in JavaScript | initializing array in js - • Initialize an array in...
    35) Calculate net salary of employees | Need of arrays in JS | javascript - • Calculate net salary o...
    36) Find biggest element in array js | Krish TechHQ - • Find biggest element i...
    37) Reverse an array in Javascript | arrays - • Reverse an array in Ja...
    38) find an element from array j | find an element in array js - • find an element from a...
    39) How to reverse a string in JS | reverse a string in js - • How to reverse a strin...
    40) Find all vowels in string javascript| krishtechhq - • Find all vowels in str...
    41) Count number of words in a string js | javascript - • Count number of words ...
    42) Remove all the spaces in a string js - • Remove all the spaces ...
    43) Declaring and Initializing an Array in JavaScript - • Declaring and Initiali...
    44) An array method js | Javascript array methods - • An array method js | J...

ความคิดเห็น • 115

  • @alkapawar7638
    @alkapawar7638 3 หลายเดือนก่อน +1

    Amazing sir

    • @krishtechhq
      @krishtechhq  3 หลายเดือนก่อน

      Thank you 🙏🙏🙏

  • @kunaljat3857
    @kunaljat3857 ปีที่แล้ว +3

    Sir you deserve more likes and subscribers

  • @nishantsethi6625
    @nishantsethi6625 2 ปีที่แล้ว +4

    thank you, need more videos like these programming.

  • @ronaksaini195
    @ronaksaini195 ปีที่แล้ว

    sir aap to bade tagde saman ho
    ( * ) ( * )

  • @imsidrock
    @imsidrock 3 ปีที่แล้ว

    AWESOME, AWESOME, AWESOME, AWESOME, AWESOME

  • @sakshisisodiya1795
    @sakshisisodiya1795 ปีที่แล้ว +1

    Thank you so much this was the easiest way.

  • @anandgomaskar2210
    @anandgomaskar2210 2 ปีที่แล้ว +1

    thanku so much sir upload this video

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      Thank you Sir 🙏🙏

  • @rssonwani2481
    @rssonwani2481 2 ปีที่แล้ว +1

    Bahut achha samajh aaya sir thankyou

  • @saiyours58
    @saiyours58 ปีที่แล้ว +2

    1.Finding largest digit in a number
    2.finding largest number in a array
    3.start or number puzzle pattern program
    4.sum of the even digits in a number
    5.creat table using reactjs
    Most of these type of questions asked in written test for freshers... Can anyone help me plz...
    Where to find solutions for this questions in javascript..?

  • @sanketgupta1203
    @sanketgupta1203 ปีที่แล้ว +1

    great sir , we need more videos thank you

  • @techmasalapk5288
    @techmasalapk5288 2 ปีที่แล้ว +1

    Amazing guru je

  • @deveshchoudhary4977
    @deveshchoudhary4977 ปีที่แล้ว +1

    Thanks for this.

  • @gulludanoda1910
    @gulludanoda1910 2 ปีที่แล้ว

    Thank uuu so much sir mai bhut presan thi mujhe aa nhi rha thaa🙏🙏

  • @manjil_lbsnaa
    @manjil_lbsnaa 2 ปีที่แล้ว

    Same question ki coding mere practical exam me ayi thi 🙄exam hone ke bad mene is video ko dekha☹️
    Iski coding or meri likhi coding bilkul bhi same nhi thi🥺 अतः pratical me 50 me se 0 marka मिलेंगे 😁😁😁

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว +1

      Ohhhh 😟😟 Better luck next time !

  • @aritrasarkar8571
    @aritrasarkar8571 ปีที่แล้ว

    Thank you sir

  • @AmanKumar-ij2ge
    @AmanKumar-ij2ge ปีที่แล้ว

    Tq so ☺️ much sir

  • @nikitagunjal5665
    @nikitagunjal5665 4 ปีที่แล้ว +1

    Nice video

  • @pamelaokeyo9911
    @pamelaokeyo9911 ปีที่แล้ว

    I don't understand the explanation but I like your code

  • @feminjustin2478
    @feminjustin2478 4 ปีที่แล้ว +1

    All the best sir

  • @VijayThakur-xf7to
    @VijayThakur-xf7to 2 ปีที่แล้ว

    very nice keep it up

  • @kaushanio
    @kaushanio 2 ปีที่แล้ว +1

    Thank you sir🙏

  • @ibrahimkapasi1852
    @ibrahimkapasi1852 2 ปีที่แล้ว

    Very well explained..!

  • @AI_motivation1008
    @AI_motivation1008 2 ปีที่แล้ว

    Thanks sar

  • @anandgomaskar2210
    @anandgomaskar2210 2 ปีที่แล้ว

    thanku sir ...............sir we want one more video on matriks please

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      Sir, Which video you want?

  • @mdmajid2136
    @mdmajid2136 2 ปีที่แล้ว

    Awesome 👍😎

  • @rajlakhanpal
    @rajlakhanpal 2 ปีที่แล้ว

    Very well explained. Thank you for this tutorial. Very helpful.

  • @TimeLoopCoder
    @TimeLoopCoder 2 ปีที่แล้ว

    Very nice sir😀😀😀😀

  • @nirahhp999
    @nirahhp999 2 ปีที่แล้ว

    I need some help on node loop
    want to print n elements from the array after 10 seconds till complete array in a node so which is a better way
    ex:
    array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    print:
    1
    2
    sleep 10 sec
    3
    4
    sleep 10 sec
    .
    .
    9
    10
    in this way

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      I will solve it by tomorrow. Okay 👍

  • @codedtech75
    @codedtech75 ปีที่แล้ว

    nice sir 👍

  • @rajbannasa7662
    @rajbannasa7662 2 ปีที่แล้ว

    Thank you so much sir ❤️

  • @aniketgaikwad5049
    @aniketgaikwad5049 2 ปีที่แล้ว

    well explained !

  • @nehagadpal613
    @nehagadpal613 5 ปีที่แล้ว

    Because I want if user click on button while filling the input in text box answered would be display on same page where textbox and button place

    • @krishtechhq
      @krishtechhq  5 ปีที่แล้ว

      Ok neha. We will see it in form tutorial. I will start uploading new tutorials within 2 or 3 days. I have not uploaded any video from several months. Now I will start. If you are very curious to know about it please specify your email ID.

    • @krishtechhq
      @krishtechhq  5 ปีที่แล้ว +1

      Neha Finally... this will solve your problem.
      Enter Number of lines:
      function PrintStars()
      {
      var char1=document.getElementById("star").value;
      var numberoflines=document.getElementById("lines").value;
      var i;
      for(i=1;i

  • @ashwinishewale7451
    @ashwinishewale7451 2 ปีที่แล้ว

    Thank you🙏

  • @aravarora36
    @aravarora36 3 ปีที่แล้ว

    *noice*

  • @sujatadaalak1989
    @sujatadaalak1989 3 ปีที่แล้ว

    👍

  • @AmanSingh-ku3re
    @AmanSingh-ku3re 2 ปีที่แล้ว

    Sir 1st star print huya hai (i) ki wajha se parr 2nd row mai star print krwany ka kaam kon karr rha hai

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      Inner loop ka kaam hai stars print karna. Aur outer loop control karti hai number of rows ko. Yane stars ki kitni line chahiye.

  • @danimakashyap3618
    @danimakashyap3618 3 ปีที่แล้ว +1

    Sir mai jo program dalti hu uske bad output me star pattern batata hai

  • @niteshpandey3048
    @niteshpandey3048 2 ปีที่แล้ว

    Sir wo last me j ki value 1
    Fir continue jo print separate value wo kaise hua

  • @thekaranincricket
    @thekaranincricket ปีที่แล้ว

    Can't we use space in place of  ?

  • @niteshbhagasra5036
    @niteshbhagasra5036 ปีที่แล้ว

    Sir 2
    4. 6
    8. 10 ase sequence m table bnani hai java mein kase bnau

    • @krishtechhq
      @krishtechhq  ปีที่แล้ว

      var i;
      var j;
      var number=2;
      for(i=1;i

  • @nujsingh1369
    @nujsingh1369 2 ปีที่แล้ว +1

    Sir ###### print kese hoga?

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      Kaisa output print karna hai ?

  • @suniliyer456
    @suniliyer456 2 ปีที่แล้ว

    Sir cant we write console .log and do it for printing

  • @umairahmedofficial1
    @umairahmedofficial1 3 ปีที่แล้ว +1

    Sir how to print this pattern in JavaScript
    5
    45
    345
    2345
    12345

    • @krishtechhq
      @krishtechhq  3 ปีที่แล้ว

      I am creating video for this. Available soon on channel.

  • @sonalisalvi8812
    @sonalisalvi8812 2 ปีที่แล้ว

    Apne document. Write mai   q liya

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      For spaces.  ek entity hai, jiska use karke aap spaces add kar sakte ho. & nbsp; ka matlab hai non breaking space.

  • @abirroy1978
    @abirroy1978 ปีที่แล้ว

    You have to must explain deeply why outerloop is created why inner loop is created how its work properly ...you explain but can't understandable..

    • @krishtechhq
      @krishtechhq  ปีที่แล้ว

      Okay! Watch my other pattern related videos. And I am sure, it will remove all your doubts.

  • @bhanwarsinghnetam1478
    @bhanwarsinghnetam1478 ปีที่แล้ว

    Sir eshka reverse pattern

    • @krishtechhq
      @krishtechhq  ปีที่แล้ว

      Aap example me bataiye.

  • @letscode5367
    @letscode5367 3 ปีที่แล้ว

    Sir data structure or algorithm jaroori h kya iske liye.

  • @shrutikakarale6611
    @shrutikakarale6611 2 ปีที่แล้ว

    Muzje odd number ka pyrimid wala program chahiye

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      Comment me type kijiye.

    • @krishtechhq
      @krishtechhq  2 ปีที่แล้ว

      Exact output kaisa chahiye ?

  • @PankajYadav-jz9np
    @PankajYadav-jz9np 5 ปีที่แล้ว

    Hi sir can we print this pattern using inner html

    • @nehagadpal613
      @nehagadpal613 5 ปีที่แล้ว

      pankaj yadav plz pankaj yadav tell me

    • @krishtechhq
      @krishtechhq  5 ปีที่แล้ว +1

      click me!
      function GeneratePattern() {
      var i,j;
      var x="";
      for(i=1;i

    • @PankajYadav-jz9np
      @PankajYadav-jz9np 5 ปีที่แล้ว

      @@nehagadpal613 I am unable to send the code

    • @omkarmahajan8207
      @omkarmahajan8207 2 ปีที่แล้ว

      Why we use this ( ). we can use another values or not (&abcd)😅?

  • @sparshgupta8078
    @sparshgupta8078 5 ปีที่แล้ว

    Sir j ki value. Kyu Ni bdh rhi j++ ki vajah se

    • @krishtechhq
      @krishtechhq  5 ปีที่แล้ว

      Koun se example me ?

    • @sparshgupta8078
      @sparshgupta8078 5 ปีที่แล้ว

      @@krishtechhq star pattern m

    • @krishtechhq
      @krishtechhq  5 ปีที่แล้ว

      @@sparshgupta8078 Condition j

  • @avinashgt
    @avinashgt 2 ปีที่แล้ว

    Can anyone solve it?
    **A**
    *BAB*
    CBABC
    *BAB*
    **A**

  • @mann830
    @mann830 ปีที่แล้ว

    1
    22.
    3 33
    4444
    55555 sir eda code hai

    • @krishtechhq
      @krishtechhq  ปีที่แล้ว

      Pattern Program
      var i;
      var j;
      for(i=1;i

  • @pamelaokeyo9911
    @pamelaokeyo9911 ปีที่แล้ว

    Excuse me the code is good but may you kindly use ENGLISH language please

  • @manojsaini7159
    @manojsaini7159 ปีที่แล้ว +1

    thank you sir

  • @swatimishra8857
    @swatimishra8857 2 ปีที่แล้ว

    thankyou so much sir