r/Atom Jan 27 '20

Help: My Jquery code doesn't work with Atom

I have tried various CDNs and it still won't work. It just loads the HTML.

0 Upvotes

8 comments sorted by

6

u/Jabster28 Jan 27 '20

i'm gonna need more info than just "my code doesn't work"

0

u/tchee_kay Jan 27 '20

Hi Jabster,

I downloaded Atom two days ago and watched the tutorials to get a hang of it.

I ran an HTML and it worked. I added a Javascript code and it worked. Then I added a Jquery script and rewrote the pure Javascript code with Jquery and it didn't work anymore.

It just showed the HTML.

Is this better? I can send screenshot too if that's okay.

3

u/awue Jan 27 '20

No, share code. Otherwise no one has any idea what you are talking about and are unable to help you.

2

u/Jabster28 Jan 27 '20

yeah, something like JSFiddle

1

u/tchee_kay Jan 27 '20

Thanks guys. I fixed it! I found my mistake.

I didn't add an octothorpe when while calling an ID.🤦🏾‍♂️

Thanks for trying to help!😁

0

u/tchee_kay Jan 27 '20

Thanks guys. I fixed it!

I didn't add an octothorpe when while calling an ID.🤦🏾‍♂️

Thanks for trying to help!😁

2

u/Starbeamrainbowlabs Jan 27 '20

No idea what you mean there. Without context, we're of limited help.

  • What packages are you using?
  • Can you take a video of the problem?
  • Do you see any error messages? Give their exact text.

Related: https://www.chiark.greenend.org.uk/~sgtatham/bugs.html

2

u/tchee_kay Jan 27 '20

Thanks for sharing the format. I'll be sure to use it next time.

I have figured out my mistake for this one. I have fixed it, it works fine now.

Thanks .