In a current JS web application. I am currently rendering my pages with specific information from a MongoDB Atlas cluster. Unfortunately, I don't know enough about JS to fix a major issue. The current code queries the Database each time a page is rendered as far as I understand. This seems like...
Hi Everyone, I am starting out on learning how to code (the proper way) and I simply am at a total loss or confusion. I need to be able to refactor code using semantic elements in HTML & CSS. I cant figure out where to break each section or where to use its proper semantic element so that its...
Hi Everyone, I am starting out on learning how to code and I simply am at a total loss or confusion. I need to be able to refactor code using semantic elements in HTML & CSS. I cant figure out where to break each section or where to use its proper semantic element so that its not using so many...
Hi,
I have these two functions which have mostly similar code.. so I want to combine them into one function.. any help appreciated.
previousMonthImg.onclick = function() {
if (!(monthSelect.value === "Jan" && yearSelect.value === "2010")) {
monthSelect.selectedIndex--;
if...