One more angle since I haven’t seen anyone mention it. Instructions on how to bootstrap a software portfolio: Pick a language (sounds like you chose JS which would be my pick as well), buy a copy of cracking the coding interview, make a leetcode.com account, make a codepen.io account, and get to work. If you’re smart and dedicated you can teach yourself this stuff and these are the best tools to help you in my opinio…
In my opinion this is a pretty bad advice and I see a lot of entry level programmers struggling for a long time because of this. A basic algorithms and data struture book (something like Introduction to Algorithms by Cormen, and Data Structures by Mark A Weiss) is a must before jumping into leetcode/cracking the coding interview. One needs to have a foundation before diving straight to interview problems.