0
How to used CSS with Javascript
Am confused when I see some code where they are calling tag that are not in the HTML code please can someone help me. This happens in some drop down menu code
5 Réponses
+ 2
can you show some example codes?
+ 1
You can apply CSS to general elements. For example,if I wanted to apply CSS to ALL divs on the page, I could do something like:
div {
// my css code
}
The same can be done for the other elements, so it isn't solely based upon ID/class.
input {
// do this
}
Best bet - read through this:
https://www.sololearn.com/Course/CSS/
CSS is very useful to know and understand. Sure, you can put on your boots without socks, but things work out a lot better if you learn to use your socks with your boots. :D
+ 1
@Akrji
The drop-down menu comprises of html css and JavaScript. So you need to go though all of these 3 to understand the tags of drop-down
0
@JULIAN ANTHONY
this is one of the Example am talking about. some css tag there I don't know where they are in the code. Please i need help
https://code.sololearn.com/WyclgcBLIQLV/?ref=app
0
Thanks @Netkos but what I mean is that in some code there are some css selector that are not in the code to see