Menu
×
×
正确
const paragraph = @(3)This is a paragraph using JSX!@(4);
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
const paragraph = <p>This is a paragraph using JSX!</p>;
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
const paragraph = <P>This is a paragraph using JSX!</P>;
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(paragraph);
不正确
点击 此处 重试 正确
下一题 ❯const paragraph =w3exercise_input_no_0This is a paragraph using JSX!w3exercise_input_no_1; const root = ReactDOM.createRoot(document.getElementById('root')); root.render(paragraph); |