Palindromes

Developer
Size
1,532 Kb
Views
20,240

How do I make an palindromes?

What is a palindromes? How do you make a palindromes? This script and codes were developed by DannyCoder on 06 November 2022, Sunday.

Palindromes Previews

Palindromes - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Palindromes</title>
</head>
<body> <script src="js/index.js"></script>
</body>
</html>

Palindromes - Script Codes JS Codes

function palindrome(str) { // Author: Good luck! //Me: Thank you :) var regExp = /[A-Za-z0-9_():\/\-\\]/g; var sanitizedStr = str.match(regExp).join("").toLowerCase(); var reversedStr = sanitizedStr.split("").reverse().join(""); console.log(sanitizedStr); console.log(reversedStr); if(sanitizedStr === reversedStr){ return true; } else { return false; }
}
palindrome("0_0 (: /-\ :) 0-0");
Palindromes - Script Codes
Palindromes - Script Codes
Home Page Home
Developer DannyCoder
Username DannyCoder
Uploaded November 06, 2022
Rating 3
Size 1,532 Kb
Views 20,240
Do you need developer help for Palindromes?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

DannyCoder (DannyCoder) Script Codes
Create amazing marketing copy with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!