-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday3.js
More file actions
62 lines (48 loc) · 1.19 KB
/
Copy pathday3.js
File metadata and controls
62 lines (48 loc) · 1.19 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import React from 'react';
import asabenehImage from './anamika.jpg';
function Day3() {
const headerStyles = {
backgroundColor: "#0bce22ff",
fontFamily: 'Helvetica Neue',
padding: 25,
lineHeight: 1.5,
};
const mainStyles = {
backgroundColor: '#ef13b1ff',
};
const footerStyles = {
backgroundColor: '#040505ff',
color: 'white',
padding: 25,
};
const numOne = 3;
const numTwo = 2;
const techs = ['HTML', 'CSS', 'JavaScript'];
return (
<div>
<header style={headerStyles}>
<h1>Welcome to 30 Days Of React</h1>
<h2>Getting Started React</h2>
<h3>JavaScript Library</h3>
<p>Anamika</p>
<small>Oct 4, 2025</small>
</header>
<main style={mainStyles}>
<p>Prerequisite to get started React.js:</p>
<ul>
{techs.map((tech, index) => (
<li key={index}>{tech}</li>
))}
</ul>
<p>
{numOne} + {numTwo} = {numOne + numTwo}
</p>
<img src={asabenehImage} alt="Anamika" width="200" />
</main>
<footer style={footerStyles}>
<p>Copyright 2025</p>
</footer>
</div>
);
}
export default Day3;