TAG

Javascript

How to find elements in DOM in JavaScript? [SOLVED]

Use the document.getElementById() method, document.querySelector() method, document.getElementsbyTagName, document.getElementsbyClassName method to get elements …

By olorunfemiakinlua · 4 min read · JavaScript

Using not (!) inside 'if' statement in JS [SOLVED]

If you want to negate a if statement, we can do so using the NOT operator which reverses the Boolean value, and so changes it from true to false or from false …

By olorunfemiakinlua · 2 min read · JavaScript

How to use Math power in JavaScript [SOLVED]

To perform math power operations in JavaScript, we can make use of the ** operator and the pow method, however, only the ** operator works with the Number and …

By olorunfemiakinlua · 2 min read · JavaScript