Take String from User and Check for Anagram string.An anagram of a string is another string that contains the same characters, only the order of characters can be different. For example, “abcd” and “dabc” are an anagram of each other. import { useEffect, useState } from "react"; import "./styles.css"...Nov 18, 2021 · 1 min readdhananjaysr26.hashnode.dev
Write a Program to check for Automorphic number in java Script.An automorphic number is an integer whose square ends with the given integer, as (25)2 = 625, and (76)2 = 5776. import "./styles.css"; import React, { useState } from "react"; export default function App() { const [num, setNum] = useState(0); co...Nov 14, 2021 · 1 min readdhananjaysr26.hashnode.dev
Take Number from user, Create three Button 'Increment' 'Decrement' 'Reset' And Check Number is odd or even and do the Button Funtionality.import React, { useState } from "react"; import "./styles.css"; export default function App() { const [mynum, setMynum] = useState(""); return ( <div className="App" style={ mynum % 2 === 0 ? { backgroundColor: "...Nov 13, 2021 · 1 min readdhananjaysr26.hashnode.dev