Closed frankcollins3 closed 1 year ago
❤️❤️ $('.react-calendar__tile--now').css('border', '5px solid green')❤️❤️ jquery. ive been stuck on this well over 90 minutes. been mulling over Jquery
chatGPT could not help but has helped enough.
[6:20am]
fairly funny lol change it to none and it still goes to yellow. $('.react-calendar__tile--now').css('backgroundColor', 'orange')
as stated above, have to explicitly define this value.
[6:21am]
very nice feeling because while there was only 1 week to do this project guarantee she tried everything she could do to fix the only yellow that pops up in the app. and it's not easy.
almost forgot I visited the idea of making the page have a "sun" theme for such a moment. Jquery can be very sneaky and very useful.
[6:22am]
super neat:
[6:27am]
the one above comes with that black blemish:
[1:35pm]
attempting to do: if user/human is to click on a day that isn't the currentDay, i.e. today is june 20th, if you click on june 19th, june 20th radiates yellow
error:![Screen Shot 2023-06-20 at 6 10 43 AM](https://github.com/frankcollins3/fill_container/assets/73137934/136108c7-b72a-4055-aff4-29d4496069af)
proposed approach: dig around and lock possibly make state and check for day. we need an explicit definition of the possible background-colors one may have