Add React to a Website: Step 1: Add a DOM Container to the HTML

<!-- ... existing HTML ... -->

<div id="like_button_container"></div>

<!-- ... existing HTML ... -->

Open the HTML page you want to edit. Add an empty div tag to mark the spot where you want to display something with React.

Related concepts

Step 1: Add a DOM Container to the HTML

Add React to a Website: Step 1: Add a DOM Container to the HTML — Structure map

Clickable & Draggable!

Add React to a Website: Step 1: Add a DOM Container to the HTML — Related pages: