Programming Exercises

Create a functional component that displays 'Hello, World!' on the screen.

Easy

Problem Statement

Create a functional component that displays 'Hello, World!' on the screen.

Sample Output

Hello, World!

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
import React from "react"; const HelloWorld = () => { // Add the JSX to display "Hello, World!" here }; export default HelloWorld;
Log in or sign up to run or submit your code.Log inSign up
Expected Output
Hello, World!