Type a sentance Calculate words function countword() { const sentance=document.getElementById("input").value const wc=sentance.split(' ') const op=document.getElementById("output") output.innerHTML=wc.length }
good Explanation . I got all the videos in nice understanding of all concepts.Thank u So much
@singlismm Жыл бұрын
WordsCalculator: Calculate Words Type a Sentence Calculate Words function Calcualte() { let words = document.getElementById("text").value; let cal = words.split(' ').length let result = document.getElementById("result"); result.innerHTML = cal + " words" }
@vigneshvikky8997 Жыл бұрын
Mam Your Video daily watch very clear and nice explanation ❤️
@rubanraj21549 ай бұрын
Text word count : HTML Textarea ID = "text-area" Div ID = "result" 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" }
@vijayvj270222 сағат бұрын
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)
@reubenprasanth271 Жыл бұрын
18:43 Exercise, Add 1000 at the end. should we add 1000 to 111 or insert 1000 in a new index mam ?😅
let marks = [34,55,66,23,47,99,10]; console.log(marks[marks.length-1]);
@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
@MrBrutal_x Жыл бұрын
Mam,I want offline class for full stack Java. Are you conducting any offline courses??
@Gizmo_Hub_Tech Жыл бұрын
sister oru doubt empty space kodutha adhuvum word ahh eduthukuthu what can i do
@LogicFirstTamil Жыл бұрын
use trim
@Gizmo_Hub_Tech Жыл бұрын
@@LogicFirstTamil super .. but its work for front and end but did not work for in between words...
@LogicFirstTamil Жыл бұрын
@@Gizmo_Hub_Tech u have to use a method that i tought. think. tat is wat the exercise is abt
@jeevanandham2497 Жыл бұрын
Use indexOf method
@vijayvj270221 сағат бұрын
use trim()
@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
@sivashankar21967 ай бұрын
👏👏👏
@iswaryaishu2995 Жыл бұрын
👍
@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
@vijayan4544 Жыл бұрын
Split la (" ") gap kudugga
@mdsardar59368 ай бұрын
// 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)