In the process of learning basic ReactJS I am trying to create the following layout but I have not been successful in finding solution which leads me to this particular layout which when open on a desktop will look as following (but since it is responsive it will hopefully readjust to screen):
This is the code I am trying but not sure how to take it to a responsive layout I desire.
import React from 'react';
function Header() {
return (
<div> I am the header</div>
)
}
// each footer is 50% wide
function Footer1() {
return (
<div> I am footer 1</div>
)
}
function Footer2() {
return (
<div> I am footer 2</div>
)
}
// left col has with 84%
function LeftCol() {
return (
<div>
<form>
<div>col1 width 84%</div>
<div>col1 row1</div>
</form>
</div>
)
}
function RightCol() {
return (
<div>
<form>
<div>col2 width 16%</div>
<div>col2 row1</div>
</form>
</div>
)
}
function App() {
return (
<div>
<Header />
<LeftCol />
<RightCol />
<Footer1 />
<Footer2 />
</div>
);
}
export default App;
Edit: I am trying to achieve this using minimal html and CSS but through ReactJS and Material UI as learning exercise.
