/hotel

Yrgopelago assignment

Primary LanguagePHPMIT LicenseMIT

Dirt Cheap Island

Dirt Cheap Island is dirt cheap. Come visit!

The Very Avarage Island Inn

Neat little hotel with very avarage facilities! I recommend for you my friend.

Instructions

Start a php server with localhost from the map where the files are located. Change the links in the fetch-statements in the fetch.js file to be valid for the localhost you are running. Example https://petterjakobsson.se/features.php can be changed to http://localhost:3000/features.php. Same goes for the links in makeBooking.php line 122 and 127. Aswell as unsuccesful.html, line 25.

Now fire up your webapp and browse in on http://localhost:YourPort/index.php to book your stay at this avarage hotel!

Or just find the application online at https://petterjakobsson.se.

Code review

  1. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  2. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  3. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  4. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  5. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  6. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  7. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  8. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  9. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.
  10. example.js:10-15 - Remember to think about X and this could be refactored using the amazing Y function.