Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console showing error #1244

Open
cynica123 opened this issue Jan 6, 2024 · 3 comments
Open

console showing error #1244

cynica123 opened this issue Jan 6, 2024 · 3 comments

Comments

@cynica123
Copy link

Describe the bug
Chrome is not live updating every time code is written in vs.code. writing code on a file using ".js" is not appearing or executing whereas files using ".html" are updating only after closing and reloading

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'Vs.code'
  2. Create 'new file using .js'
  3. write "console.log('hello world')"
  4. right click and select open with live server
  5. right click again and click on inspect
  6. find console and error showing Live reload enabled

Expected behavior

The console should simply show "Hello world"

Desktop (please complete the following information):

  • OS: Mac M1 pro
  • Browser [chrome,]
  • Version 120.0.6099.199

Additional context
I have just started learning coding and have no clue what I am doing or even know how to use GitHub at all so i hope this reaches someone who can help. sorry for uploading this request somewhere wrong.

@Jdoggett50
Copy link

Jdoggett50 commented Jan 22, 2024

How are you linking your .js file to your html? A photo of the specific issue would be helpful!

Copy link

This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.

@Rax-shiftware
Copy link

You can't write js to html! JSX file `jsx
function App() {
return (
<>

</>
)
}
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants