Small understanding of CSS and JS
??
What is CSS?
Cascading Style Sheet (CSS) is a markup language used to control the webpage Style and allow the Style information to be separated from the webpage. In my understanding, CSS is used to separate the representation from the structure, which makes later modifications easier.
The focus of CSS is the core mechanism-the Box Model
Layout highlights and difficulties-floating and positioning
Another purpose of CSS layout is to make the code easy to read, and the block clearly strengthens code reuse, so the structure is very important.
CSS layout first considers the semantics and structure of page content reading.
Page control methods, selector, CSS typographical concepts
Why add JS to front-end pages,
The Web scripting language has been widely used in Web application development. It is often used to add a variety of dynamic functions to webpages to provide users with smoother and more elegant browsing effects. Generally, JavaScript scripts implement their own functions by embedding them in HTML.
This is because I wrote some summaries after reading a video a long time ago. At that time, I just wrote down my understanding. It was not very complete and a little messy. Next correction.