Hi why does this code not work in normal browser?
What's not working?
What do you mean by "normal browser"? What browser are you using and are you trying to do this in the Codecademy environment?
I'll see if I can help, the more detail the better.
Thank you for the reply.
I have saved the index.htm, stylesheet.css and script.js files on my local computer with the codes in it. now I trying to run index.htm on Chrome browser. But all it shows is an empty screen.
Why is it not showing the same results as in the Codeacademy demo browser window?
Hmm this is a little over my pay grade but I can mess around with it tomorrow when on computer. I've never tried doing that before.
Seems like the HTML isn't connecting to the CSS and JS for some reason. They're all in the same folder?
Yes they are. I tried it even on Mozzila Firefox browser with Firebug extension.
It recognizes both HTML and CSS but not the script.
I am a beginner at JS and Jquery. Your help comes as a big relief.
@leonhard.wettengmx.n: Thanks a lot...now it works, perfectly
@jballin: Thanks to you as well for helping me immensely.
You must remember that during the index.html load
the link's are loaded sequentially
so the 2nd link might overwrite/redefine =functions= from ".js" or ".css" links
Your ".js" and ".css" should be the last to be loaded....
== the Book ==
jquery [your question] site:developer.mozilla.org
CSS [your question] site:developer.mozilla.org
[your question] site:jquery.com
[your question] site:getbootstrap.com
== discussions / opinions ==
jquery [your question] site:stackoverflow.com
CSS [your question] site:stackoverflow.com
We now have .col-xs (phones), .col-sm (tablets), .col-md (desktops), and .col-lg (large desktops).
event- bubbling or Capturing
event bubble-up or trickle-down
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.