Wendy• 1,670
@wendyhamel
Posted
I could not leave it... Cleaned up the js. Now it is accurate and easier to read the code.
0
Looking to hire developers?
Submitted
@wendyhamel
Working with dates.... The leap years make it hard. I ended up with a lot of javascript. Got tired of it and dicided to leave it at this. I know, I should clean up my functions. But in a real project I would never do this with JS. I would handle it with PHP. The struggle was worth it though. I am happy with the accurate results it gives, including the leap years.
@wendyhamel
Posted
I could not leave it... Cleaned up the js. Now it is accurate and easier to read the code.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord