7
submitted 1 year ago* (last edited 1 year ago) by captsneeze@lemmy.one to c/programming@beehaw.org

I hope this isn’t breaking any rules here. I’ve been struggling with a personal web project for the past week, and I’m hoping some smart people here could get me pointed in the right direction.

I’ve already posted a full explanation in another community here, with some informational comments.

Long story slightly shorter… trying to get a website that is great for scoring a tennis match, and making it work offline so I can have it run locally on an offline machine. For some reason that I can’t figure out, the js refuses to work as expected.

First, I thought there may have been a CORS issue. And, the js is checking the protocol and changing it from “file” to “http” (see comments in like above). I worked past this issue, but it's still not really working.

Now, I can see the first action of the “score” function is working (it logs to console), but nothing after that does anything at all, and I can’t figure it out!

Edit: A very kind person (what’s the lemmy equivalent for “redditor”?) offered some insight through a DM that got me on the right track! I won’t put all the details here because it could be considered borderline “unethical” if the wrong person was trying to follow my path. Thanks to that person and to the community! Ive learned a lot in the past weeks.

you are viewing a single comment's thread
view the rest of the comments
this post was submitted on 21 Jul 2023
7 points (100.0% liked)

Programming

10 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS