Problem of the day-JSX practise

Create a react app from scratch.
It should display 2 paragraph HTML elements.
The paragraphs should say:
Created by YOURNAME.
Copyright CURRENTYEAR.
color:Blue
fontsize 24px
text align center
//E.g.
Created by Angela.
Copyright 2023.

Post your app.js / code here.

1 Like

mam with inline css ?

1 Like

@Amaragarwal7 ,
That’s upto you

// import ‘./App.css’;

const style = {
color : “blue”,
fontSize : “24px”,
textAlign :“center”

}

function App() {
return (


Created by Amar


Copyright 2023

</div>

);
}

export default App;

1 Like

output

1 Like

@Amaragarwal7 ,

Good Job! Keep learning…

1 Like

1 Like