Open DiegoLopezInc opened 1 year ago
As a Quality Assurance tester, I want to make sure the code is running without errors. I have tested the following for Problem Two in Issue #10 :
• To demonstrate your FetchModel routine works, your web application should work so that visiting http://localhost:3000/photo-share.html displays the version number returned by sending an AJAX request to the http://localhost:3000/test/info URL. The version number should be displayed in the TopBar component of your app. ✅/ :x: ???
Version Number is updating in URL but not on "TopBar"
For problem 2, the fetch model function works by making HTTP GET requests to a specified URL and handling the responses. The function is meant to fetch data from a web server, using low-level AJAX techniques, without the use of any external libraries as shown in the image below.
The fetch model function takes in a URL as its parameter and allows for the asynchronous handling of the response.