Posts by oricardo_ • 23 points
2 posts
-
2
votes1
answer85
viewsQ: How to take the links of a Nav with Javascript and add a class?
I got the following nav: <nav> <ul> <li><a href="">1</a></li> <li><a href="">2</a></li> <li><a href="">3</a></li>…
-
0
votes6
answers6079
viewsA: My function that returns a true/false boolean if it exists or not, is that correct?
I managed to do it that way function temHabilidade(skills) { var resultado = skills.indexOf("Javascript"); if (resultado >= 0) { return true; } else { return false; } } var skills =…
javascriptanswered oricardo_ 23