├── .gitignore ├── README.md ├── style.css ├── index.html └── app.js /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Javascript Expense Manager 2 | An Expense Manager project with graphs 3 | 4 | This repository is a reference codebase for creating an Expense manager with Javascript. 5 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | .clearfix::after { 8 | content: ""; 9 | display: table; 10 | clear: both; 11 | } 12 | 13 | body { 14 | color: #555; 15 | font-family: Open Sans; 16 | font-size: 16px; 17 | position: relative; 18 | height: 100vh; 19 | font-weight: 400; 20 | } 21 | 22 | .left-container { 23 | height: 100vh; 24 | background-image: linear-gradient(#0277BD, #03A9F4); 25 | background-size: cover; 26 | background-position: center; 27 | position: relative; 28 | } 29 | 30 | .right-container { 31 | height: 100vh; 32 | width: 100%; 33 | position: relative; 34 | } 35 | 36 | .header { 37 | font-weight: 700; 38 | font-size: 36px; 39 | } 40 | 41 | .sub-text { 42 | font-size: 22px; 43 | font-weight: 400; 44 | } 45 | 46 | .month-container { 47 | padding-top: 25%; 48 | padding-left: 5%; 49 | padding-right: 5%; 50 | } 51 | 52 | .calc-container { 53 | padding-top: 12%; 54 | padding-left: 5%; 55 | padding-right: 5%; 56 | } 57 | 58 | .fs-white { 59 | color: #ffffff; 60 | } 61 | 62 | .fs-dark-grey { 63 | color: #4e4e4e; 64 | } 65 | 66 | .budget-container { 67 | display: inline-block; 68 | background: #ffffff; 69 | border-radius: 8px; 70 | box-shadow: 0 6px 4px #000000; 71 | } 72 | 73 | .month-amount { 74 | font-size: 36px; 75 | font-weight: 700; 76 | } 77 | 78 | .bottom-border { 79 | border-bottom: 1px solid #00446D; 80 | } 81 | 82 | .expense-row { 83 | padding: 10px; 84 | } 85 | 86 | .expense-date { 87 | color: #077CC1; 88 | } 89 | 90 | .expense-text { 91 | color: #077CC1; 92 | } 93 | 94 | .expense-list { 95 | overflow-y: scroll; 96 | } 97 | 98 | .fs-15 { 99 | font-size: 15px; 100 | } 101 | 102 | .expense-value { 103 | text-align: end; 104 | } 105 | 106 | .expense-saving { 107 | color: #039300; 108 | } 109 | 110 | .expense-cost { 111 | color: #E40000; 112 | } 113 | 114 | .expense-investment { 115 | color: #f48803; 116 | } 117 | 118 | #expense-chart { 119 | margin: 20% 0; 120 | } 121 | 122 | .btn-submit-expense { 123 | border-radius: 50%; 124 | } 125 | 126 | .currency-select { 127 | margin: 0 4%; 128 | } 129 | 130 | .selected-currency { 131 | color: #ffffff; 132 | font-size: 12px; 133 | font-weight: 700; 134 | margin-top: 1%; 135 | } 136 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |