Hoisting, when a variable is available
7 lines of JSON to made a magic
This week, I found an interesting proposition on the web: it is that thanks to seven lines of JSON code, you can turn a website into a native application that works on Android and iOS. Moreover, the author promises that the whole operation is not only about displaying the page in the native app frame. To be honest, my knowledge of PWA is small today. I know that there is such a thing and I know how to put basic information in a few lines of code that allows the user to save the page on the phone as an application. There is no chance that I would evaluate the author’s proposal for the code to automatically turn websites into PWA applications, at least for now. However, I think that the topic is interesting, so I am posting a link to the page where I found it: https://www.freecodecamp.org/news/how-to-turn-your-website-into-a-mobile-app-with-7-lines-of-json-631c9c9895f5/
So much for this week. Four hours of theory, mostly the basics. The DOM fun starts next week, so more will be happening.