Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?

.env
176 changes: 164 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.7.7",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
12 changes: 12 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@
.card {
padding: 2em;
}

/* Weather Table Styling */
table {
border-collapse: collapse;
width: 100%;
}

th, td {
border: 1px solid white;
padding: 8px;
text-align: left;
}
11 changes: 6 additions & 5 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import logo from "/logo.png";
// import logo from "/logo.png";
import "./App.css";

import Weather from "./Weather"

function App() {
return (
<>
<div>
{/* <div>
<img src={logo} className="logo react" alt="Rocket logo" />
</div>
<h1>Weather App</h1>
</div> */}
<div className="card">
{/* Follow the weather app instructions on the gitbook to implement this exercise */}
<Weather />
</div>
</>
);
Expand Down
Loading