Built with π§±
- Semantic HTML5 markup
- SCSS
- JS
- Flexbox
- @media
- day.js
Error handling is not ideal but it just w o r k s
Also, you can calculate date from future, it's not a bug, it's feature π
Built with π§±
Error handling is not ideal but it just w o r k s
Also, you can calculate date from future, it's not a bug, it's feature π
Your code is very clean but There is a mistake in your javascript code. I tested it. I calculated 8-10-2008 -->
14 years 6 months 17 days
But, result should be -->
14 years 6 months 2 days
this is my solution
Or you can test it on any website to calculate age.
Hello everyone..π¨βπ»
grid
& flex
layout.Things i tweaked up..π
scrollreveal.js
on dom
elements to animate themFeel free to leave comments on how I can improve my code.
Peace be upon you..β¨
10/10 + Respect You have preserved the principles of your religion. I'm proud of you. .................................................................................... ...................................................................................... ...................................................................................... ...................................................................................... ...................................................................................... ...................................................................................... ....................................................................................... ...................................................................................... ...................................................................................... ...................................................................................... ...................................................................................... ....................................................................................... ....................................................................................
What did you find difficult while building the project?
Which areas of your code are you unsure of?
Do you have any questions about best practices?
1- you should center the component using flex
2- you forgot to put the given background color. the body
should be like this:
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: blue; /* Put the given color in place of blue */
}
4- you forgot to remove basic styles
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
3 - you forgot to make a font family: