DJRyLau / CITS3403-Project

CITS3403 Agile Web Development Group Project
4 stars 1 forks source link

Pop-up Code Overhaul - Redundancy Reduction #19

Closed DJRyLau closed 4 months ago

DJRyLau commented 4 months ago

While working on the profile popup to match the designs in #13, I noticed navbar.js became super messy. For the sake of future coding in this area, I have generalized many aspects of the navbar code to make it more scalable, improve readability and reduce redundancy.

navbar.js:

notes.css:

notes.html:

This is quite a large overhaul to the entire navbar code, and wanted to confirm if this is okay before properly implementing the profile formatting as stated in #18. Unsure if this would affect any aspect of anyone elses branches, but if so I'm happy to work on rewiring any conflicts this may cause.