This file contains 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
/* SOURCE LINK: https://www.codeply.com/responsive-design-cheatsheet.html */ | |
/* Bootstrap /* | |
/* Extra small devices (phones, less than 768px) */ | |
/* No media query since this is the default in Bootstrap */ | |
/* Small devices (tablets, 768px and up) */ |
This file contains 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
<!-- SOURCE: https://www.w3schools.com/php/php_form_validation.asp --> | |
<!-- | |
LOGIC: | |
htmlspecialchars() - prevent Cross-Site Scripting (XSS) attacks. | |
trim() - Strip unnecessary characters (extra space, tab, newline). | |
stripslashes() - Remove backslashes (\). | |
--> | |
<!-- SCRIPT --> |
This file contains 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
// Remove Duplicate in Array: | |
[...new Set(arr)]; | |
// Removes the first element from an array | |
arr.shift(); | |
// Removes the last element fron an array | |
arr.pop(); | |
// Adds value to the array |