HTML project types in PyCharm Professional
Earlier, I mentioned that I wanted to start you off with a basic empty project with some simple HTML, CSS, and JavaScript code we created from scratch. PyCharm Professional offers new additional pure HTML project types. By pure, I mean they don’t use any modern JavaScript frameworks such as React or Angular. These modern frameworks represent a paradigm shift in frontend development. A pure HTML project will continue to use very traditional DOM manipulation, as we did in our JavaScript example earlier. To change the content of our click counter span, we used this code:
Document.getElementById
Since client-side JavaScript like this runs in the browser, the code has access to the document object, which is effectively the browser window. JavaScript can manipulate the currently loaded document or even update the contents of the browser window itself.
Modern JavaScript frameworks no longer manipulate the DOM. Instead, they rely on...