Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Main.js #19

Closed
wants to merge 12 commits into from
14 changes: 14 additions & 0 deletions src/Main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react'

function Main() {
return (
<div>
{/* fetch the data
images
current Weather
future Weather */}
</div>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 things:

  • can you use a more semantic HTML element here instead of a div?
  • And how will we pass in content as a prop, inside of <Main>? Remember we will be passing whole components into Main from inside of App.js

)
}

export default Main