This is our first school project that we upload on github. My website is about homeless cats (all made up). The website should countain at least two loops, two functions and different types of arrays among other things. You can visit my website if you go to www.linneaannaeriksson.se
- You can clone this repo and open it with your favourite code-editor.
- Open a localhost in your terminal by writing: php -S localhost:8000
- Visit the localhost in your browser.
- Enjoy!
Code review written by Neo Lejondahl.
arrays.php:$catsThe castrated value could be a boolean, instead of a string.footer.phpRight now you are putting everything in a<p>tag, maybe a<ul>for the cities?functions.php:28 informationSavedDo you really need the $animal variable, will there be a different animal?functions.php:33-45Some variables have a capital first letter others don't, maybe change to lowercase.directoriesI think you could have made som folders for your php files, ex a 'functions' folder with the functions.php & arrays.php in it.readabilityYour code is very nice to look at and well structured, good job!
Tested by the following people:
- Hanna Rosenberg
- Neo Lejondahl
