+ 1
How do I target HTML with JS?
5 Antworten
+ 12
We are not sure what you are talking about.
Better if you rephrase your question stating what exactly you want to ask.
https://www.sololearn.com/discuss/1316935/?ref=app
+ 9
Using script keyword..
+ 2
Here is how you would do It with JavaScript but It is always better if you can achieve It with CSS
https://code.sololearn.com/WhtVOz9qCj56/?ref=app
+ 1
In css you target html like this : .head{border-color: red;}
How do we do it with JS?
0
Care to elaborate?