r/learnjavascript • u/Dazzling-Fishing2965 • 9h ago
Some help setting up to learn JavaScript
Hi! I have been retired for quite some time. However, back in the day I did some programming in BASIC, Natural and ADABAS (like dBase III on an IBM mainframe) and did several years of website development including PHP but no JavaScript after I retired.
Now I'm just doing this project to keep my brain active.
I am using my Mac mini M4, Safari and BBEdit.
I presume I create HTML "shell" documents that include the JavaScript code I want to try and then "preview" that document in Safari from within BBEdit. I'm trying to use BBEdit as an IDE.
If that sounds crazy or there are better ways of doing things then please let me know.
Thanks in advance,
Peter
View all comments
2
u/No-Humor-3808 2h ago
If you just want to experiment with JavaScript without DOM manipulation, the quickest way is to use RunJS or a similar app.
If you want to build something that runs in the browser, your HTML + JavaScript approach is perfectly fine. Alternatively, you can use Vite as a starting point for a PWA or web app (you'll need to install Node.js first).