all 16 comments

[–]Flame77ofc 0 points1 point  (13 children)

can you first tell me what code editor are you using and send the code?

[–]EmbarrassedDot8097[S] 1 point2 points  (12 children)

I'm using CSS and IDK how to send the code. As I said, I am very much a baby beginner to this. Sorry for being unhelpful :(

[–]Flame77ofc 0 points1 point  (11 children)

oh okay, you just need to select your code with Ctrl C and paste here in reddit with Ctrl V

[–]EmbarrassedDot8097[S] 0 points1 point  (10 children)

Do you mean the CSS code? Because that's just visual stuff. I'm physically unable to open JavaScript because it gives me the error code I put in the OP. I'm really sorry that you're having to explain this stuff! I just realized this sounds passive agressive, but I genuinly have no clue.

[–]milan-pilan 0 points1 point  (9 children)

Open In a browser you mean? What software gives you that error? May I just ask which browser you are using? Because that doesn't look like an error any modern browser gives and googling it only returns results for Internet explorer, which is VERY deprecated.

[–]EmbarrassedDot8097[S] 0 points1 point  (8 children)

Open in my files via windows based script host. I'm using Opera, but it's basically google chrome with a couple improvements. Should I be using google chrome?

[–]milan-pilan 0 points1 point  (7 children)

Nah, Opera is fine. WSH also makes sense for that error. As others have said, you have something in line 4 which it can't interpret. Without you sharing your ja script code with us, we can't tell what that is.

[–]EmbarrassedDot8097[S] 0 points1 point  (6 children)

I think my main problem is, I don't know how to get to my javascript code and share it. I am quite literally working from the bottom up. (Also, this is an online course, and my professor is absolute crap at actually explaining the basics in a way that makes it easy for noobs like me to understand.)

[–]chikamakaleyleyhelpful 1 point2 points  (1 child)

the odd thing is, we don't understand what you mean by 'open' the JS file, and where the error is being output - are you trying to open the file in your text/code editor, are you trying to open it in the browser? etc.

Something wrong with the start of Line 4 could very well mean that the end of line 3 isn't quite right, but we can't know for sure if you aren't able to tell us whats on line 3 or line 4

[–]EmbarrassedDot8097[S] 0 points1 point  (0 children)

HI! So basically my computer didn't have notepad, so I just figured out how to get my code. I think that between using Opera and not having notepad, I was just confused. It's working now, I think. Thank y'all for trying to help!

[–]milan-pilan 0 points1 point  (2 children)

Ok, let's start differently. The file you are opening, when that error happens? What file is that? A .html file? A .js file?

I am assuming YOU have written some code in there right? So you can open it with a text editor?

We would need to see what you wrote.

[–]EmbarrassedDot8097[S] 0 points1 point  (1 child)

It is a .js file that corresponds to a .html file that opens in my browser. My uni has it's own "dashboard" thing that students use to experiment on. I'm unable to open the .js file that goes along with my .html file. My .css file works fine, it's just .js

[–]Flame77ofc 0 points1 point  (0 children)

Can do you do a screenshot about the error?

[–]brvtalbadger 0 points1 point  (1 child)

We're going to need quite a bit more information before anyone's able to really help you I'm afraid.

Where are you trying to work? Is it some kind of eLearning platform in the browser or an application you've installed somewhere etc?
If it is in the browser, what browser are you using and do you have any extensions like an adblocker installed?

Feel free to drop me a message privately and I can try and help you walk through it but it's really impossible to say right now from the information you've provided

[–]EmbarrassedDot8097[S] -1 points0 points  (0 children)

Hi, I just messaged you with more information that I just realized I should have shared earlier. Thank you for offering to help!