Js Scripts
This is my repo for all the JavaScript scripts that I have used in my projects. On this place you can find all the JS files and their corresponding functionality.
Stack Used
This is temp code for testing.
const getPhoneSpecs = async (id) => {
const response = await fetch(`api.phones.com/${id}`);
const data = await response.json();
if (data.status === "success") {
console.log("Details found: ", data.model);
return data.specs;
}
};