@ahalyaashokan4437

<body>
    <div id="wrapper">
        <h1>Type a sentance</h1>
        <div >
            <textarea name="txt" id="input" cols="30" rows="10"></textarea>
        </div>
        <div>
            <button type="submit" onclick="countword()">Calculate words</button>
        </div>
        <div id="output">
            
        </div>
    </div>
    <script >
        function countword() {
        const sentance=document.getElementById("input").value
        const wc=sentance.split(' ')
        const op=document.getElementById("output")
        output.innerHTML=wc.length
        }
    </script>
</body>

@bumbleBee-gaming09

Exercise:

let arr=[5,8,10,7,9,11]
arr.splice(3,3,17,19,111)
console.log(arr)
arr.unshift(100)
console.log(arr)
arr.push(200,1000)

console.log(arr)
arr.splice(arr.length/2,0,0)
console.log(arr)

@muthukalavathimcaut023

good Explanation . I got all the videos in nice understanding of all concepts.Thank u So much

@bumbleBee-gaming09

WordsCalculator:
<body>
    <h1 id="message">Calculate Words</h1>
    <div id="wrapper">
        <h2>Type a Sentence</h2>
        <div id="textarea">
            <textarea id="text" type="textarea" placeholder="Type Something"></textarea>
        </div>
        <div>
            <button type="submit" onclick="Calcualte()">Calculate Words</button>
        </div>
        <div id="result">

        </div>
    </div>


    <script>
        function Calcualte() {
            let words = document.getElementById("text").value;
            let cal = words.split(' ').length
            let result = document.getElementById("result");
            result.innerHTML = cal + " words"
        }

    </script>
</body>

@rubanraj2154

Text word count :

HTML
Textarea ID = "text-area"
Div ID = "result"


<Script>
function convert(){
1.let paragraph= document.getElementbyId("text-area").value;
2.let wordsplit = paragraph.split(' ');
3.let wordcount = wordsplit.length;
4.document.getElementById("result")
result.innerHTML = wordcount + " Words"
}

@vigneshvikky8997

Mam Your Video daily watch very clear and nice explanation ❤️

@reubenprasanth271

18:43 Exercise, Add 1000 at the end. should we add 1000 to 111 or insert 1000 in a new index mam ?😅

@veeratheking8375

Happy Pongal 👍

@santhoshkumar-xp4qy

akka  excerice section la erukkura 3rd excs enaku purila please explain pandringala

@mjj3tube

So when are we allowed to perform methods like shift and pop it means that arrays are mutable right? I can see that we are able to change the same array unlike strings

@vijayvj2702

let arr = [5,8,10,7,9,11]
//replace with [7,9,11] to [17,19,111]
let a = arr.splice(3,3,17,19,111)
console.log(arr)
//adding 100 on the last index of array
let b = arr.unshift(100)
console.log(arr)
//insert 200 in last but one position
let c = arr.splice(6,0,200)
console.log(arr)
//insert 1000 at the end
let d = arr.push(1000)
console.log(arr)
//insert 0 on the middle of the index
let insert = arr.splice(arr.length -5,0,0)
console.log(arr)

@Myaheeya

let marks = [34,55,66,23,47,99,10];
console.log(marks[marks.length-1]);

@MrBrutal_x

Mam,I want offline class for full stack Java. Are you conducting any offline courses??

@aarthidurai4778

Hi sis thank u for ur amazing knowledge sharing coding videos...kindly share  advanced SQl topics like window function, ER relationship & all sis...sql basics & sql intermediate was really helpful... Sis

@fathimarasmiya9492

Thanks mam

@sivashankar2196

👏👏👏

@Gizmo_Hub_Tech

sister oru doubt
empty space kodutha adhuvum word ahh eduthukuthu what can i do

@achappank1516

mam I have one doubt 

this is js code 

function submit() {
  const getvalue = document.getElementById("paraText");
  const calculate = getvalue.value.split("").length;
  const result = document.getElementById("result");
  result.textContent = calculate + "words";
} 


but  problem is this code is only find how many letters is the input box not find how many words in the paragraph . no idea i have give me a hint or somthing

@mdsardar5936

// Replace 7,9,11 with 17,19,111
 Arr.splice(3,3,17,19,111) 
 console.log(Arr)

 // Insert 100 at the beginning
 Arr.unshift(100)
 console.log(Arr)

 // Insert 200 at last
 Arr.splice(Arr.length, 0, 200)

// Insert 1000 at the end
 Arr.push(1000)

 // Insert 0 in the middle
 Arr.splice(Arr.length/2,0,0)

 console.log(Arr)