React - Render HTML Elements to the DOM

Challenge: React - Render HTML Elements to the DOM

Link to the challenge:

I’m confused about two terms that are mentioned here. What does “render” and “node” mean in the context of this challenge?

  • Rendering in programming refers to processing any piece of code that we have written and showing the result of it . The text from the challenge: " Use the ReactDOM.render() method to render this component to the page." means to show the component on the page, visible for users.

  • In the context of the DOM, a node is a single point in the node tree. Various things that are nodes are the document itself, elements, text, and comments. In the challenge it means to select an html element (the DOM node) with document.getElementById() method (the node, or element defined by an id attribute).

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.