You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there.
Thank you for your attention to detail.
Please, create a PR, and propose your solution, tagging this issue you created, and @ALX-SE-Algorithmia/code-reviewing-team.
Thank you, Samuel 🌟
Is your feature request related to a problem? Please describe.
I noticed in the footer the year 2023 is still there, then I checked the code and found out the year was just inputted there manually
Describe the solution you'd like
So I discovered we can use a JavaScript code to make it automatic (i.e input the year it's self)
Describe alternatives you've considered
Here is how I suggest the code to be
<div class="copyright"> © <script>document.write(new Date().getFullYear());</script> Algorithmia SE 🌍. All Rights Reserved </div>
Or it can be written in the js file separately this way
var currentYearElement = document.getElementById('currentYear'); if (currentYearElement) { currentYearElement.innerText = new Date().getFullYear(); }
Then the html file should have this
<div class="copyright"> © <span id="currentYear"></span> Algorithmia SE 🌍. All Rights Reserved </div>
Additional context
I hope you consider my request
The text was updated successfully, but these errors were encountered: