x--------x

PUSHING AND UPDATE TO REPO ONCE SAVED:

GET INTO GIT: cd /c/xampp/htdocs/judsonsclocks

1. git status
2. git add (filename) or git add . (for all files)
3. git commit -m "short message goes here"
4. git push
5. git push --set-upstream origin [branch-name] (only if its the first time pushing or you set up a new branch)

x--------x

Day 7:

Project Goal:

Here's a good mission for today: add Google Analytics (est. time: 1hr), add a password to your posts (est. time: 2hrs), fix flex box (est. time: 30mins, +/-), and write a short post about your experience with OpenAI's API AND their lack of support. Then, I will share the link a few places.

Tidbits:

Work Log:

- debugging blog.php viewport issues by inspecting the dev tools in Edge
- discovered that a stylesheet failed to load
- discoverd the viewport height percentage was causing the navbar to cover the blog content and causing the overflow onto the page

*** this is fascinating issue, since I'm still learning CSS: the 100vh height was being applied to the .container element, which, in my attempt to clean up my CSS file (and rebuild it starting on Day 6) I tried making universal throughout the pages. The issue I'm running into here is that the 100vh makes the homepage.html present/display properly, but breaks content on the other page--why that is the case, I'm not sure, but clearly the solution to this issue is to create classes and add them to the tags on the individual pages, so that I can use those classes to target/affect the child .container elements on individual pages.

- creating the aforementioned classes, applying CSS rules
- adding flex, width, padding, width, etc.
- troubleshooting issues with navbar accross other pages
- got some issues fixed
- adding php to limit the length of displayed content from each post to prevent performance issues and to make the blog page more navigable
- adding nonbreaking spaces in php to create distance between date posted from mysql table and the read more link
- removing those spaces because it's best practice to do that in CSS, plus i want to remove the underlining so I need to wrap that specific linking section (php) in a new div
- using flexbox to handle the centering of the 'continue' block // treating that span as an actual block
- moving onto add_post page
- running into universal navbar issues again
- working on internal CSS for blog.php because i can't figure out how to fix it