Local installation of css and js doesn't work

Local installation of css and js doesn't work

berekibereki Posts: 5Questions: 3Answers: 0
edited May 2021 in General

anyone i need help i have been trying z whole day
pls

Answers

  • kthorngrenkthorngren Posts: 21,336Questions: 26Answers: 4,951

    What specifically is not working?

    Do you get errors in the browser's console?

    Are you placing the JS and CSS files in a path that the web server supports downloading files from? This is probably the place to start to make sure the files are accessible. You will need to use the docs for your web server to find the appropriate paths.

    Kevin

  • berekibereki Posts: 5Questions: 3Answers: 0
    edited May 2021

    im only getting this 2 links

     <link rel="stylesheet"  href="DataTables/datatables.min.css"/>
    <script type="text/javascript" src="DataTables/datatables.min.js"></script>
    <script>
                $(document).ready(function () {
                    $('#example').DataTable();
                });
            </script> 
    

    and download file

    only z html part is working

    Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide

  • kthorngrenkthorngren Posts: 21,336Questions: 26Answers: 4,951

    Have you looked at the browser's console for errors?

    Have you verified the path DataTables/datatables.min.js is correct for your web server?

    If you need help debugging please post a link to your page so we can take a look.

    Kevin

This discussion has been closed.