You have been provided the code for a restaurant reviews website. The code has a lot of issues. It’s barely usable on a desktop browser, much less a mobile device. It also doesn’t include any standard accessibility features, and it doesn’t work offline at all. Your job is to update the code to resolve these issues while still maintaining the included functionality.
After cloning and downloading the repo you will need a local serve to run it; there's more than one way to do that:
-
In a terminal, check the version of Python you have:
python -V
. If you have Python 2.x, spin up the server withpython -m SimpleHTTPServer 3000
(or some other port, if port 3000 is already in use.) For Python 3.x, you can usepython3 -m http.server 3000
. If you don't have Python installed, navigate to Python's website to download and install the software. -
Open Node.js and then type in the cloned directory
npm install -g browser-sync
; after the installation run in the command linebrowser-sync -w
to serve the project inlocalhost:3000
.