-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.jsx
42 lines (33 loc) · 895 Bytes
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import React from 'react';
import ReactDom from 'react-dom';
// var Button = function(){
// return (
// <button>GO</button>
// )
// };
class App extends React.Component{
render(){
return(
<div>
Hello World!!! Program in React
<h1> Header </h1>
<h2> This is second content </h2>
<p> This is the main content of my React Application </p>
<p data-azizattr = "azizattr"> This is from attribute </p>
<h1>{1+1}</h1>
<h1>{5+10}</h1>
<button>42</button>
</div>
);
}
}
// class Button extends React.Component{
// render(){
// return(
// <button>42</button>
// );
// }
// }
export default App;
//ReactDom.render(<Button />,Button)
//export default Button;