Skip to content

Commit

Permalink
Merge pull request #4 from w1-ll/financeDash
Browse files Browse the repository at this point in the history
Finance dash
  • Loading branch information
w1-ll authored Mar 10, 2024
2 parents 3f478d6 + 450cefa commit 4060a77
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
Empty file.
67 changes: 67 additions & 0 deletions budgetup/src/components/Tables.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
import React from "react";

export const BudgetForm = () => {
return (
<div className="bakground-color=grey">
<table style={{ backgroundColor: '#f2f2f2', width: '100%' }}>
<tbody>
<tr>
<td>
<label>
Groceries:
<input type="text" name="Groceries" />
</label>
</td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
<tr>
<td>
<label>
Resteraunts:
<input type="text" name="Restaurants" />
</label>
</td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
<tr>
<td>
<label>
Rent/Mortgage
<input type="text" name="Rent/Mortgage" />
</label>
</td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
<tr>
<td>
<label>
Debt owed:
<input type="text" name="Debt" />
</label>
</td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
<tr>
<td>
<label>
Childcare:
<input type="text" name="Children" />
</label>
</td>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
</tbody>
</table>
</div>
);
};
9 changes: 9 additions & 0 deletions budgetup/src/pages/Finance_Dashboard.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React, { useState } from 'react';
import { BudgetForm } from '../components/Tables'

function Dashboard() {

return ( <div className="Dashboard"> <BudgetForm /> </div> );
}

export default Dashboard;

0 comments on commit 4060a77

Please sign in to comment.