Skip to content

Instantly share code, notes, and snippets.

View HNazmul-X's full-sized avatar
🏠
Working from home

H Nazmul Hassan HNazmul-X

🏠
Working from home
View GitHub Profile
const dayCalculator = (addDay) => {
if(addDay){
let [currMonth, currDay, currYear] = new Date().toLocaleDateString("en-US").split("/");
console.log({currDay})
const day31 = /1|3|5|7|8|10|12/;
const day30 = /4|6|9|11/;
/* cyrillic */
@font-face {
font-family: 'Google Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/googlesans/v27/4UaGrENHsxJlGDuGo1OIlL3Kwp5MKg.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */