Adding External Resources
Sometimes you will want to add external resources to your site, such as a custom css file(s) or javascript files. It's actually really easy. All you have to do is add these file to your resource folder and use the global function to retrieve the path <?= base_url ?>
Make sure all your external files reside somewhere in the resources folder
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="<?=base_url?>/resources/css/myfile.css"> </head> ...