React FormsReact ile bir küçük bir form login form yapalım: Öncelikle React ve useState import edelim. import React, {useState} from "react"; App'imizde bir heading (Form başlığı), bir input (isim girmek için) ve bir tane de buton olacak( veriyi göndermek için...3 min read·yccodes.hashnode.devApr 16, 2023
Interesting use of && (AND) operator in JavaScriptThe && (AND) operator is generally used to check if both sides of the operator are true. It continues if both sides are true, otherwise, it stops. Let's see in action: if(a > 5 && a <10) {console.log("a is between 5 and 10");} else {console.log("...2 min read·yccodes.hashnode.devApr 5, 2023
Promises in JavaScriptPromises in JavaScript A promise in JavaScript is like a promise in real life. If you promise to do something, that promise may have actually two result: Promise is completed (resolved) Promise is failed (rejected) For example: If I promise to wr...3 min read·yccodes.hashnode.dev1SMar 7, 2023