r/learnjavascript • u/Dazzling-Fishing2965 • 19h 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
3
u/gimmeslack12 helpful 17h ago
Yes, you can simply create an .html file and then use the
<script></script>tags to start writing some JS. Then just drag that file into your browser and it'll run.