Find centralized, trusted content and collaborate around the technologies you use most. Which of the id values is specified first in the function's parameters isn't important, so long as both are specified. Example: In this example, we will use the id property for changing the id. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: , ,

Click me to change my color.

,

Click me to change my color.

, . The link engages the JavaScript. MDN recommends using node.textContent for changing the text of an element. . This means instead of using props to interact with the component, you can use promises to update the state. , ,