Hey boys im trying to do the first challenge where we need to create a random quote button.
Problem is when i try to access my json file which is in the same folder than my php and js file, i have an error about Access-Control-Allow-Origin header which i added to my php file “<?php header("Access-Control-Allow-Origin:*"); ?>”.
If anyone can help , Thanks a lot !
Sorry its okay i forgot to launch the php file in localhost …