Course Content
Selecting elements
In this chapter, you will learn how to select elements with JavaScript.
0/33
Course: JavaScript for Optimizers
About Lesson

HTML


JavaScript

function myFunction() { 
    console.log("You clicked the button")
}

Result

"You clicked the button"
0% Complete