build an javascript URL and its search parameters
const city = "Karachi";
const price = "$200k";
const myUrl = `https://www.softhunt.net/?city=${city}&price=${price}`;
console.log(myUrl);
build an javascript URL and its search parameters
const city = "Karachi";
const price = "$200k";
const myUrl = `https://www.softhunt.net/?city=${city}&price=${price}`;
console.log(myUrl);
build an javascript URL and its search parameters
const myUrlWithParams = new URL("https://www.softhunt.net/");
myUrlWithParams.searchParams.append("city", "Karachi");
myUrlWithParams.searchParams.append("price", "$200k");
console.log(myUrlWithParams.href);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us