No video

Get Computed properties in javascript

  Рет қаралды 38,742

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdo...
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit...

Пікірлер: 90
@HiteshCodeLab
@HiteshCodeLab 4 жыл бұрын
Full course is FREE and will be available here courses.learncodeonline.in/learn/Complete-Javascript-course
@adinshahab25
@adinshahab25 5 ай бұрын
I can't access this content.... it says to contact the admin
@MallikarjunGuggari-wc9ml
@MallikarjunGuggari-wc9ml 5 ай бұрын
I can't access this content.... it says to contact the admin
@chandrakiran2796
@chandrakiran2796 4 жыл бұрын
People who are having problems with script not running, just rename the scripts.js to script.js
@pranavmankar1964
@pranavmankar1964 4 жыл бұрын
It helps me a lot bro💯💯💯💯thank you so much
@shehryarhassan7229
@shehryarhassan7229 4 жыл бұрын
how to download attachments.
@chandrakiran2796
@chandrakiran2796 4 жыл бұрын
@@shehryarhassan7229 open the website and click on the word attachment
@ManishJha-dx6bc
@ManishJha-dx6bc 3 жыл бұрын
Thanks a lot
@ujjwaldeep5175
@ujjwaldeep5175 3 жыл бұрын
Thanks
@saptarshichakraborty4381
@saptarshichakraborty4381 2 жыл бұрын
Very useful and informative video. Got to learn about a very useful info from this. Thanks for providing this series !!
@bhuvaneshvarsrivastava7857
@bhuvaneshvarsrivastava7857 4 жыл бұрын
I like the series very much and continuously wondering the theme you are using!!
@ganeshbirajdar4382
@ganeshbirajdar4382 2 жыл бұрын
Teacher theme dark
@vikastiwari419
@vikastiwari419 3 жыл бұрын
If anyone is facing the error below, then move your tag just before the end of the body tag, I don't know what's the cause behind this eccentric behaviour of javascript but then it'll not be javascript without some weirdness. Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
@shubham8136
@shubham8136 2 жыл бұрын
Thanks a lot bro
@kaushikshandilya8560
@kaushikshandilya8560 4 жыл бұрын
Lots of love from Assam sir... Enjoying the series 🥰
@riyatiwari7178
@riyatiwari7178 Жыл бұрын
Thank you so much for bringing project exercises. I am immensely blessed to have come across your channel. -ardentFollower(learning)
@devyanijain6057
@devyanijain6057 3 жыл бұрын
Amazing series ❤️. But I didn't get the attachment. Please attach link in KZfaq description sir .
@sivasai6890
@sivasai6890 4 жыл бұрын
First time seeing you as sleepy, sir...!!
@vijaynavale3919
@vijaynavale3919 4 жыл бұрын
Hmm, something different today👌 So window object can be helpful alot.
@Ravi-oh8xz
@Ravi-oh8xz Жыл бұрын
Thanks sir for Top-notch content ❤️❤️
@shashikantkalshetty
@shashikantkalshetty 4 жыл бұрын
Learnt something new its really awesome
@chinmaykumar7975
@chinmaykumar7975 4 жыл бұрын
for chrome background like him u can use momentum extension.
@saharshnigam6526
@saharshnigam6526 3 жыл бұрын
Thnx for info
@YouAndImpact
@YouAndImpact 4 жыл бұрын
Great video 👍
@darkalpha6530
@darkalpha6530 3 жыл бұрын
But sir can't we do all this stuff with a css property ":hover"?
@swatijha7229
@swatijha7229 3 жыл бұрын
does any of you know of any extension for automatic semicolons? I tried several like trailing semicolon and ctrl but none of them are working.
@hindihits9260
@hindihits9260 2 жыл бұрын
use prettier
@shubhambadame1002
@shubhambadame1002 4 жыл бұрын
where is the attachment file, I didnt get anymore
@jaymeenjogiya8168
@jaymeenjogiya8168 3 жыл бұрын
here in the method getBGColor(pink) it says that argument is not an object. i dont know why it is saying that my passed object pink is not an object,although it works fine in the first approach,and giving this mess in method const getBGColor = (selectedElement) => { return window.getComputedStyle(selectedElement).backgroundColor; } console.log(getBGColor(pink));//this line is giving the error thanking you in advance...
@ankushladani496
@ankushladani496 Жыл бұрын
Thank you sir....
@kilanjertran428
@kilanjertran428 2 жыл бұрын
firefox does gives me an empty string when i log the window background
@amitabhsinha7447
@amitabhsinha7447 4 жыл бұрын
waiting for the promise concepts hitesh. Please upload that soon.
@stephin4474
@stephin4474 4 жыл бұрын
Class name is "color red" But you put just red in the query selector How does that work Correct me if i am wrong
@Sunny-oc7bo
@Sunny-oc7bo 4 жыл бұрын
That element with class "color red" has actually two classes. first is "color" and the second is "red". You can simply write them as different classes like ( ) or you can write them like this () as well. The element gets both the class name. You can target the element with the class name "color" as well as the class name "red". Hope this will help you. Thank you,
@stephin4474
@stephin4474 4 жыл бұрын
@@Sunny-oc7bo Thank you so much bro Loved your help
@Sunny-oc7bo
@Sunny-oc7bo 4 жыл бұрын
@@stephin4474 you are most welcome. I am really happy to help you.
@vraj3115
@vraj3115 4 жыл бұрын
"color" and "red" are two separate classes here, in HTML if we want to give an element more than one class then we separate them by a space between them like "color red"
@stephin4474
@stephin4474 4 жыл бұрын
@@vraj3115 ok bro I understood Thank you for your time
@y.s.jenifersingh2153
@y.s.jenifersingh2153 4 жыл бұрын
Great
@YasirAlam02
@YasirAlam02 2 жыл бұрын
sir i dnt get the application of this topic?
@sonalisahoo5953
@sonalisahoo5953 2 жыл бұрын
Hi! Want to know how u have customized your google page. Pls do share with us. :)
@Pr0xy69
@Pr0xy69 3 жыл бұрын
I'm not a expert in CSS. Anyone here who needs CSS code ? I'm wasting my lot of time to write CSS . OH shit, it's too hard for beginner like me.
@garvgoel1743
@garvgoel1743 2 жыл бұрын
Can not find proj2.zip . Can anyone put the link for same in the comments section?
@fayizshah3017
@fayizshah3017 4 жыл бұрын
I can't see today's video in learncodeonline.in neither I can download the attachment
@jaspreetsinghkohli3277
@jaspreetsinghkohli3277 4 жыл бұрын
TUM - The Unexpected Moron he told that it would be added later today
@birsingh5388
@birsingh5388 4 жыл бұрын
@@jaspreetsinghkohli3277 don't insult someone, he's not asking you
@jaspreetsinghkohli3277
@jaspreetsinghkohli3277 4 жыл бұрын
Bir Singh i did not insult anyone the expected moron was his name and it appeared automatically
@birsingh5388
@birsingh5388 4 жыл бұрын
@@jaspreetsinghkohli3277 I can see your reply on some other comment that you also not able to find files. Is this also applicable on you?
@jaspreetsinghkohli3277
@jaspreetsinghkohli3277 4 жыл бұрын
Bir Singh the file has been uploaded on the website it was uploaded around 7pm ist yesterday
@abhinavmaurya8637
@abhinavmaurya8637 3 жыл бұрын
I tried the same thing which has explained in this video... but just for experimenting purpose I used getElementByClassName instead of querySelector but it was not working... Can anybody explain me whhyyy...?
@mainakbanerjee507
@mainakbanerjee507 2 жыл бұрын
There is nothing called getElementByClassName, it is getElementsByClassName. And when you use this it returns an array like element which contains all the element with the class. So you have to loop over that array like object to access individual element.
@ajaypathak2214
@ajaypathak2214 4 жыл бұрын
When I'm doing it with " get elements by I'd " why it is not working ?????????????????
@kilanjertran428
@kilanjertran428 2 жыл бұрын
do not put any dot notation or (#) near the colors
@bhaskarpurohit7556
@bhaskarpurohit7556 2 жыл бұрын
i need the source code for these videos, please help
@hitbits1918
@hitbits1918 4 жыл бұрын
I am getting an error in my console when I try to grab properties by writing in vs code but it works perfectly fine when I try the same code in my console, Is anybody have any idea about this weird behaviour ?
@AbhisekKumar-sw1dg
@AbhisekKumar-sw1dg 4 жыл бұрын
Rename your js file from scripts.js to script.js
@samrj444
@samrj444 Жыл бұрын
Can anyone please tell me what does he mean by the option key?
@holydoggo8979
@holydoggo8979 Жыл бұрын
He uses Mac and that has the option key. The equivalent of it for Windows is the "Alt" key
@a12a12d
@a12a12d Жыл бұрын
What is this option key please tell
@holydoggo8979
@holydoggo8979 Жыл бұрын
He uses Mac and that has the option key. The equivalent of it for Windows is the "Alt" key'
@Yeapes
@Yeapes 4 жыл бұрын
i'm not able to visit learnCodeOnline.in, i'm your Bangladeshi Students sir.
@vraj3115
@vraj3115 4 жыл бұрын
#10minutesJS day 34!
@programoftech9200
@programoftech9200 4 жыл бұрын
Naps actually recharge us!
@hill-ar-ious
@hill-ar-ious 2 жыл бұрын
If the class name is "color red", then in querySelector shouldn't we give ".color red" instead of just ".red". Is it correct?
@mainakbanerjee507
@mainakbanerjee507 2 жыл бұрын
No, Here "color" And "red" Are 2 different classes. That's why you can use only ".red" In querySelector.
@birsingh5388
@birsingh5388 4 жыл бұрын
Arrow style function not working in the Edge browser
@kaushikshandilya8560
@kaushikshandilya8560 4 жыл бұрын
I guess no one use Microsoft edge
@ujjawalchatterjee
@ujjawalchatterjee 4 жыл бұрын
@@kaushikshandilya8560 People are still using IE...
@ujjawalchatterjee
@ujjawalchatterjee 4 жыл бұрын
You need to use babel to convert your ES6 codes to ES5 ... GO to babeljs.io Go to Try It Out... Paste your code on left hand side box... And you get ES5 code in right hand side box.... Use that one.... It will work
@ujjawalchatterjee
@ujjawalchatterjee 4 жыл бұрын
Later, you can setup babel in your project for automatic conversion
@birsingh5388
@birsingh5388 4 жыл бұрын
@@ujjawalchatterjee That looks great, I haven't used babeljs, will check that out. Thanks!
@udittyagi9238
@udittyagi9238 4 жыл бұрын
Today first view 😊
@jaspreetsinghkohli3277
@jaspreetsinghkohli3277 4 жыл бұрын
did you find the proj 2 file on lco website?
@hilariouscoder7203
@hilariouscoder7203 4 жыл бұрын
@@jaspreetsinghkohli3277 No, There is no video also.
@jaspreetsinghkohli3277
@jaspreetsinghkohli3277 4 жыл бұрын
@@hilariouscoder7203 relived to find that i am not the only one and i have also messaged sir about the file on instagram i suggest that you too should ask him about it
@udittyagi9238
@udittyagi9238 4 жыл бұрын
No bro , no find any file
@HiteshCodeLab
@HiteshCodeLab 4 жыл бұрын
Video and code files are added in course, later in day. 🙂
@mdtofayelhossain3735
@mdtofayelhossain3735 3 жыл бұрын
I didn't understand some things
@user-xo6fb8pl9f
@user-xo6fb8pl9f 6 ай бұрын
bro plz turn of add' s
@anshagrawal9751
@anshagrawal9751 3 жыл бұрын
6:42
@abhishekshrivastav5066
@abhishekshrivastav5066 4 жыл бұрын
Hi good morning
Event listener in javascript
12:20
Hitesh Choudhary
Рет қаралды 39 М.
7 ways to deal with CSS
6:23
Fireship
Рет қаралды 1,1 МЛН
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 30 МЛН
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 49 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 54 МЛН
Better code with object chain in javascript
7:28
Hitesh Choudhary
Рет қаралды 25 М.
5 super useful CSS properties that don't get enough attention
16:23
Kevin Powell
Рет қаралды 144 М.
Why iife appears in javascript interviews
13:27
Hitesh Choudhary
Рет қаралды 23 М.
What Is Email Only Authentication - Magic Link Auth
12:00
Web Dev Simplified
Рет қаралды 65 М.
Solution of Scope problem in javascript
8:13
Hitesh Choudhary
Рет қаралды 15 М.
Top 10 Javascript One Liners YOU MUST KNOW!
14:16
developedbyed
Рет қаралды 194 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
Understand the context in javascript
8:38
Hitesh Choudhary
Рет қаралды 70 М.
Methods and objects in javascript
9:27
Hitesh Choudhary
Рет қаралды 52 М.
WILL IT BURST?
00:31
Natan por Aí
Рет қаралды 30 МЛН