Menu icon Foundation
Issues with app.css and app.js

Hi everyone,

I've recently started learning how to incorporate Foundation 6 into my projects, and have been working on a website using it. One issue I am experiencing is that the app.css and app.js files don't seem to do anything, even when I insert CSS and JavaScript into them.

As an example, I used the app.css to attempt to hide radio buttons in order to style them only showing the labels. I first tried to do this applying to all inputs of the type radio, then all inputs with the name of the specific group I was using. When that didn't work, I simply tried using an ID for one of the buttons but nothing seemed to work. When I insert the style="display: none;" code using in-line styling in the HTML, it works fine.

Additionally, I attempted to insert some simple JavaScript functions into my app.js file, and they did not work either. Once I inserted the scripts directly into the HTML document, they ran fine.

I haven't changed any information in the <head> tag or the <script> tags at the bottom of the page.

Thanks in advance for the help!

app.jsappcsscustomjavascriptfilenotworkinginline

Hi everyone,

I've recently started learning how to incorporate Foundation 6 into my projects, and have been working on a website using it. One issue I am experiencing is that the app.css and app.js files don't seem to do anything, even when I insert CSS and JavaScript into them.

As an example, I used the app.css to attempt to hide radio buttons in order to style them only showing the labels. I first tried to do this applying to all inputs of the type radio, then all inputs with the name of the specific group I was using. When that didn't work, I simply tried using an ID for one of the buttons but nothing seemed to work. When I insert the style="display: none;" code using in-line styling in the HTML, it works fine.

Additionally, I attempted to insert some simple JavaScript functions into my app.js file, and they did not work either. Once I inserted the scripts directly into the HTML document, they ran fine.

I haven't changed any information in the <head> tag or the <script> tags at the bottom of the page.

Thanks in advance for the help!