What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-27 08:35:02
bootstrap 5 tutorial
body { display: block; overflow-x: hidden;}nav { background-color: white;}.navbar-brand img { max-height: 50px;}.navbar-brand { font-size: 24px; text-transform: uppercase; font-weight: 900; color: #683aa4;}nav ul li a { color: #a9a9a9; font-size: 22px; ma... Add solution -
PHP 2022-02-24 15:40:03
php function to convert string to camelcase
public static function camelCase($str, array $noStrip = []) { // non-alpha and non-numeric characters become spaces $str = preg_replace('/[^a-z0-9' . implode("", $noStrip) . ']+/i', ' ', $str); $str = trim($str); ... Add solution -
Javascript 2022-02-17 07:35:05
react yup password with number string and uppercase
password: yup .string() .required('Please Enter your password') .matches( /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$/, "Must Contain 8 Characters, One Uppercase, One Lowercase, One Number and one s... Add solution -
Javascript 2022-02-16 19:10:10
quiz javascript example with array
var questions = [ ["What is the capital of England?", "LONDON", "You know, where the queen lives"], ["What is the capital of France?", "PARIS", "Remember the eiffel tower?"], ["What is the c... Add solution -
Assembly 2022-02-16 02:15:03
vim shortcuts keyboard code
// Vim in Linux Shortcuts and Keyboard operations // For More Detailed and Advanced Operations Visit the site here // https://gist.github.com/awidegreen/3854277 // Cut and paste: 1. Position the cursor where you want to begin cutting. 2. Press v to sele... Add solution -
CSS 2022-02-11 15:45:10
css capitalize first letter
.uppercase { text-transform: uppercase; } #example { text-transform: none; /* No capitalization, the text renders as it is (default) */ text-transform: capitalize; /* Transforms the first character of each word to uppercase */ text-transform: upp... Add solution -
Javascript 2022-02-09 21:55:08
how to make data title case in discord js
function titleCase(str) { return str .split(' ') .map((word) => word[0].toUpperCase() + word.slice(1).toLowerCase()) .join(' '); } console.log(titleCase("I'm a little tea pot")); // I'm A Little tea Pot Add solution