Arrays and Array Methods | JavaScript Course | Logic First Tamil

  Рет қаралды 40,158

Logic First Tamil

Logic First Tamil

Күн бұрын

Пікірлер: 29
@ahalyaashokan4437
@ahalyaashokan4437 Жыл бұрын
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 }
@singlismm
@singlismm Жыл бұрын
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
@muthukalavathimcaut023 Жыл бұрын
good Explanation . I got all the videos in nice understanding of all concepts.Thank u So much
@singlismm
@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
@vigneshvikky8997 Жыл бұрын
Mam Your Video daily watch very clear and nice explanation ❤️
@rubanraj2154
@rubanraj2154 9 ай бұрын
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" }
@vijayvj2702
@vijayvj2702 22 сағат бұрын
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
@reubenprasanth271 Жыл бұрын
18:43 Exercise, Add 1000 at the end. should we add 1000 to 111 or insert 1000 in a new index mam ?😅
@santhoshkumar-xp4qy
@santhoshkumar-xp4qy Жыл бұрын
akka excerice section la erukkura 3rd excs enaku purila please explain pandringala
@homeremedies9883
@homeremedies9883 Жыл бұрын
Console.log(arr.splice(5,0, 200)); Console.log(arr)
@veeratheking8375
@veeratheking8375 Жыл бұрын
Happy Pongal 👍
@Myaheeya
@Myaheeya 14 күн бұрын
let marks = [34,55,66,23,47,99,10]; console.log(marks[marks.length-1]);
@mjj3tube
@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
@MrBrutal_x Жыл бұрын
Mam,I want offline class for full stack Java. Are you conducting any offline courses??
@Gizmo_Hub_Tech
@Gizmo_Hub_Tech Жыл бұрын
sister oru doubt empty space kodutha adhuvum word ahh eduthukuthu what can i do
@LogicFirstTamil
@LogicFirstTamil Жыл бұрын
use trim
@Gizmo_Hub_Tech
@Gizmo_Hub_Tech Жыл бұрын
@@LogicFirstTamil super .. but its work for front and end but did not work for in between words...
@LogicFirstTamil
@LogicFirstTamil Жыл бұрын
@@Gizmo_Hub_Tech u have to use a method that i tought. think. tat is wat the exercise is abt
@jeevanandham2497
@jeevanandham2497 Жыл бұрын
Use indexOf method
@vijayvj2702
@vijayvj2702 21 сағат бұрын
use trim()
@aarthidurai4778
@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
@fathimarasmiya9492 Жыл бұрын
Thanks mam
@sivashankar2196
@sivashankar2196 7 ай бұрын
👏👏👏
@iswaryaishu2995
@iswaryaishu2995 Жыл бұрын
👍
@achappank1516
@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
@vijayan4544 Жыл бұрын
Split la (" ") gap kudugga
@mdsardar5936
@mdsardar5936 8 ай бұрын
// 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)
@Gizmo_Hub_Tech
@Gizmo_Hub_Tech Жыл бұрын
const btnEl = document.getElementById("btn") const textAreaEl = document.getElementById("area") const outputEl = document.getElementById("output") function count() { const valueEl = textAreaEl.value.split(" ").length; outputEl.innerText = `${valueEl} Words`; } btnEl.addEventListener("click", count)
@ramzar2848
@ramzar2848 Жыл бұрын
bro should we show the text which we ttype in text area (in html) that why u have given templete literals am i right
If Else | FD Rate Calculator | JavaScript Course | Logic First Tamil
17:53
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 34 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Симбочка Пимпочка
Рет қаралды 4,2 МЛН
CallBack and ForEach | JavaScript Course | Logic First Tamil
14:05
Logic First Tamil
Рет қаралды 29 М.
8 Must Know JavaScript Array Methods
10:05
Web Dev Simplified
Рет қаралды 1 МЛН
Operators in Javascript | JavaScript Course | Logic First Tamil
23:41
Logic First Tamil
Рет қаралды 42 М.
Array vs. ArrayList in Java Tutorial - What's The Difference?
17:36
Coding with John
Рет қаралды 562 М.
Arrays  in Java Script | JS for Beginners - 27 | code io - Tamil
23:47
code io - Tamil
Рет қаралды 2 М.