- Planning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------------------ | |
Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
1280-1024 - desktop (default grid) | |
1024-768 - tablet landscape | |
768-480 - tablet | |
480-less - phone landscape & smaller | |
--------------------------------------------*/ | |
@media all and (min-width: 1024px) and (max-width: 1280px) { } | |
@media all and (min-width: 768px) and (max-width: 1024px) { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"name": "Watch", | |
"price": "$19.99", | |
"brand": "Rolex" | |
}, | |
{ | |
"id": 2, | |
"name": "Sunglasses", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"coverImage": "https://i.imgur.com/KFPqtc4.jpg", | |
"userImage": "https://i.imgur.com/6bWEcgc.png", | |
"userName": "Mehedi Hasan", | |
"postDate": "Mar 14", | |
"title": "Introduction to JavaScript", | |
"tags": ["#JavaScript", "#Programming", "#WebDev"], | |
"readingTime": 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"bookTitle": "হাবলুদের জন্য প্রোগ্রামিং", | |
"bookAuthor": "ঝংকার মাহবুব", | |
"bookPrice": "TK. 300", | |
"offerPrice": "TK. 225", | |
"authorImage": "https://i.imgur.com/gYfE1O8.jpg", | |
"bookCover": "https://ds.rokomari.store/rokomari110/ProductNew20190903/130X186/00ea58560_112222.jpg" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "1", | |
"picture": "https://i.imgur.com/NdGs6hs.jpg", | |
"title": "Helping Hands Foundation", | |
"category": "Health", | |
"categoryBg": "rgba(0, 82, 255, 0.2)", | |
"cardBg": "rgba(0, 82, 255, 0.15)", | |
"textColor": "rgba(0, 82, 255, 1)", | |
"donateButtonBg": "rgba(0, 82, 255, 1)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rewrites": [ | |
{ | |
"source": "/(.*)", | |
"destination": "/" | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "build/index.js", | |
"use": "@vercel/node" | |
} | |
], | |
"routes": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ { "name": "Afghanistan", "dial_code": "+93", "code": "AF", "flag": "🇦🇫" }, { "name": "Albania", "dial_code": "+355", "code": "AL", "flag": "🇦🇱" }, { "name": "Algeria", "dial_code": "+213", "code": "DZ", "flag": "🇩🇿" }, { "name": "AmericanSamoa", "dial_code": "+1684", "code": "AS", "flag": "🇦🇸" }, { "name": "Andorra", "dial_code": "+376", "code": "AD", "flag": "🇦🇩" }, { "name": "Angola", "dial_code": "+244", "code": "AO", "flag": "🇦🇴" }, { "name": "Anguilla", "dial_code": "+1264", "code": "AI", "flag": "🇦🇮" }, { "name": "Antarctica", "dial_code": "+672", "code": "AQ", "flag": "🇦🇶" }, { "name": "Antigua and Barbuda", "dial_code": "+1268", "code": "AG", "flag": "🇦🇬" }, { "name": "Argentina", "dial_code": "+54", "code": "AR", "flag": "🇦🇷" }, { "name": "Armenia", "dial_code": "+374", "code": "AM", "flag": "🇦🇲" }, { "name": "Aruba", "dial_code": "+297", "code": "AW", "flag": "🇦🇼" }, { "name": "Australia", "dial_code": "+61", "code": "AU", "preferred": true, "flag": "🇦🇺" }, { "name": "Austria", "dial_code": "+43", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isPalindrome = (string) => { | |
// replacing non-alphanumeric characters with space and converting to lowercase | |
cleanString = string.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(); | |
// reversing the string (splitting it into an array, reversing the array, and joining it back into a string) | |
reversedString = cleanString.split("").reverse().join(""); | |
// comparing the reversed string with the original cleaned string and returning true or false | |
return cleanString === reversedString; |