TLDR
Part two of the Vanilla JavaScript tutorial series. Learn how to use JavaScript in lieu of HTML to use CSS in your JavaScript file. CSS is short for Cascading Style Sheets, which controls the stylistic/visual component of the elements on the webpage. The majority of this part of the tutorial will just be learning the most essential style features that you will probably need. In JavaScript, the syntax for CSS is kebab-case (i-case) In CSS, color is the key word for attributes such as background color. For example, color can be applied to text, backgrounds, borders, borders and more.via the TL;DR App
no story