Try React

Live editor · preview · console · tests

import React, { useState } from 'react'

export default function App() {
  const [count, setCount] = useState(0)
  return (
    <div style={{ fontFamily: 'system-ui, Arial', padding: 24 }}>
      <h1 style={{ fontSize: 28, marginBottom: 8 }}>Hello LetsReact 👋</h1>
      <p style={{ marginBottom: 16 }}>
        Edit <code>App.tsx</code> and see the preview update instantly.
      </p>
      <button
        onClick={() => setCount((c) => c + 1)}
        style={{
          background: '#111827', color: 'white', border: 0,
          padding: '8px 12px', borderRadius: 8, cursor: 'pointer'
        }}
      >
        Count: {count}
      </button>
    </div>
  )
}

Open browser consoleTerminal