Closed abhinav-m22 closed 1 year ago
To get the expected behavior I will fetch the current year using new Date().getFullYear() , than changing the html of copyright using span tag and textContent property.
And to perfectly align it , I will have look into its css defined using #ftbg id , I will apply margin:auto to align it horizontaly and align-item : center for vertical alignment.
@abhinav-m22 No I am not A contributor of GSSoC2023 , but Please assign me this issue.
@kinsteve If @abhinav-m22 agree I'll assign this to you! IF he wanna continue then please could you look at other issues
@kinstev Please find another issue.. Because I've already started working on this issue
But isn't the year in copyright meant to be the year of start of the project @anmode , why do we want it to be the current year?
@kinstev Please find another issue.. Because I've already started working on this issue
Have u implemented ?
Someone already resolved the issue
Okay, No problem, 😊 Find and work on another issue..
Remarks: The issue is already fixed..
Give a brief about the bug discovered✍
In the copyright section of the web page, the year 2021 is hard-coded. It is not the standard way of writing code. Everytime the code will have to be changed for updating the year. Also, the section is not aligned properly.
What is the expected behavior?
The web page needs to have a footer with a function that fetches the dynamic value of the current year. The alignment need to be fixed with the CSS.
Give a brief description to get the expect behaviour.
Add a function to dynamically fetch the year from a function which is the best practice to add the copyright to any website to make it look formal.
Are you contributing for a program?
GSSoC2023
Code of Conduct