Need help, my JSX code doesn't work in sublime text 3

I have learned about Reactjs and know about JSX, but I have tried many ways to work with JSX in sublime text 3 and my code still doesn’t work.

<!-- something.html -->
<!DOCTYPE html>
<html lang="en">
	<meta charset="UTF-8">
    <div id="test"></div>
	<script crossorigin src=""></script>
	<script crossorigin src=""></script>
	<script src="something.js"></script>
\\ something.js
const JSX = (
    <h1>Hello World</h1>
    <p>Lets render this to the DOM</p>

I installed ‘Babel’ but my code still doesn’t run. Where did I make a mistake, and is there a way to write JSX in sublime text because I have tried many different ways.

Check out the example HTML they link to in this section, maybe you’re missing the <script type="text/babel">.