frood's Issues
Update the API that would retrieve the address
function getLocationAPI(postcode) {
APIData = new Array();
postcode = postcode.replace(" ","");
var url = "http://api.postcodes.io/postcodes/" + postcode;
const request = new XMLHttpRequest();
request.open("GET", url);
request.send();
request.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var data = JSON.parse(this.responseText);
APIData =
{
postcode: data.result.postcode,
country: data.result.country,
city: data.result.region
};
return APIData;
}
}
};
Styling that needs to be done
Address Field Changes
- Redo index.html and basket.html media queries to accommodate the changes to the address fields.
- Recheck if any of the CSS is obsolete and remove accordingly.
Menu Overlay
Make the plus signs highlight on select and hover
For the menu.html, it is calling files from a number of place. Change this so that it works more efficiently