jQuery: CSS and classes

jQuery: CSS and classes

freeCodeCamp.org

6 лет назад

10,976 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

mehdi rasoulzadeh
mehdi rasoulzadeh - 23.05.2023 18:43

it is really good thanks for ur useful video

Ответить
Muswamba Madoucha
Muswamba Madoucha - 19.08.2022 18:06

I really Enjoyed this course

Ответить
Elregar71
Elregar71 - 01.08.2017 09:37

Also, can you use toggle and set it to make a sound instead of visual changes? I'd like to start a project for next football season that's a weekly pick em site. I have a buddy who's a huge cowboys fan and I'd like to put some code in there that emits a loud buzz when he clicks on them to win, just to mess with his head haha. I'd have to tie it to his login name somehow. Is that achievable with JS/jQuery?

Ответить
Elregar71
Elregar71 - 01.08.2017 09:28

I really enjoy your teaching style Beau, is there an order to watching your JavaScript vids? I'd like to start on JS and was wondering about that.

Ответить
Sourabh Rangdal
Sourabh Rangdal - 01.08.2017 06:29

This is good! So we can create classes / id's in CSS, for example .red{color: red;} and then use it to jQuery addClass, $("p").addClass(red); without "". I had the same question while doing fcc-weather challenge. Suggestion, when you mentioned to use addClass, beginner won't understand what do you mean by CSS class as the class name is .red and the color is red and it is in CSS block which is hidden. Thanks and its a great help

Ответить
MsLadyL
MsLadyL - 31.07.2017 21:48

This was good! Question if we are not supposed to put production ready code in JS where do we put it and will it over ride the CSS code or is there a possibility that one will override the other?

Ответить