not able to run modified js code in chrome dev tool [closed] - javascript

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am not able to run the modified code, after modification still chrome is debugging older code. I can see the green color on the web page which denotes that its pointing to the local file saved in my system. But still not able to run the modified code. I am able to do so by using console to modify the js files.
I am really stuck for 3 days and now i am pretty confused whats going on. I searched on google but it seems not working.

Try the below steps-
• Clear the browser cache.
• In case you are using Visual Studio, clean and the rebuild the solution. Or do the equivalent if you are using any other IDE.

Related

My code is showing with the instructions on my browsers [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
I am an absolute beginner. Yesterday I noticed my Visual studio code showed colors when I program and it translates to console on my browser but it’s all grey today and my code and instruction all translate to my browser like the picture. enter image description here
You're writing Javascript code in a plain HTML file, that won't work. You need to create a Javascript file or create a <script> tag and place the Javascript code there.

java minecraft error unrecognized VM option UseConcMarkSweepGC [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
So i was trying to make my own Free Server so i watched a tutorial how to do that with Hamachi
so i tried then came this Error
i already tried to find where i can fix it or sth like that but i dont know yet.
Here is the link to the Tutorial i tried with .
https://www.youtube.com/watch?v=9RpA14YdEe0&t=154s
I´d be very happy if you can help me .
The CMS collector has been deprecated as of JDK9; you're on JDK16, and it's been entirely removed at this point. It is rather unlikely you want the CMS collector. That tutorial is rather hopelessly out of date if it is advising that you use it.
I suggest you use the Z Garbage Collector instead. It has similar properties (lots of very short collection cycles that don't freeze the entire VM), but is better. -XX:+UseZGC is how to turn it on.
It's that or downgrade to e.g. JDK8 which still has the old CMS.

Does a javaScript file always have to be named main.js when using it for website? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I am making a website for a school project. I am currently linking my sign up page to send information to my firebase database (it works so far). But I was wondering if I could have multiple .js files for the same website in the same folder. I started out with a "main.js" file, linked it to my signUp.html. Then, I thought it would be good to maybe have at least 2 different .js files for this webiste. So I changed the name from main.js to signUp.js (I also made the ref change in the signUp.html), but my page stopped working until I changed everything back to main.js.
The browser sometimes stores your files in a cache in order to load the files quickly.
Try this:
CTRL + F5
to refresh invalidating the cache.
The fix is called "hard refresh". this works in most Windows and Linux browsers. In your case, it may be different. Find the right shortcut depending on your environment.

Display issues on website after selecting language [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
Our website has some display issues after selecting a language. Take This page for example. When we view the page in German, the following becomes clear:
The main slider is no longer able to slide
The language selector stops working
The middle section slider is half off the page and no longer able to slide.
I suspect a javascript issue after the language selection is made. Yet all files are loaded correctly. We do not know where to start looking for the issue.
I do not expect an immediate solution, but I hope that someone can point us in the right direction.
You should probably mention what technology you are using for the translations. Also the issue seems to be that you are using a sub-folder for each language. Ex: https://www.hollandmarineparts.nl works but https://www.hollandmarineparts.nl/nl doesn't.
It seems that the routes are broken for when you have a language other than default. (determined from the errors in the browser console)
EDIT: The route to yours plugins.js and scripts.js is breaking. It prints:
Uncaught SyntaxError: Unexpected token <
because it can't find them and it's returning index.html.

How can I determine which JavaScript file makes my website slow? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
My website is http://hoopweb.com/. It suddenly loads so slowly. I know that it is because of a JavaScript file. Can someone help find the file? I can't experiment on all files due to some reasons.
You can open the developer tools and check in the network tab exactly which script is taking the longest time to load.
And as mayersdesign said, too many scripts = too many requests = longer page load time.
http://v2.zopim.com/bin/v/widget_v2.195.js is particularly slow, but in general you simply have too many scripts and too many loading in the head and not the footer.

Categories

Resources