Frontend
- The frontend is the part of an application that runs in the browser, visualizes content, and interacts with the backend.
- It consists of HTML, CSS, and JavaScript code.
Core Components
HTML
- Structures the graphical content of the page
- Defines elements such as headings, paragraphs, images, forms, and links
CSS
- Styles and layouts the graphical content of the page
- Controls colors, spacing, fonts, positioning, and responsiveness
JavaScript
- Programming language for the web
- Handles user interactions
- Modifies the page in real time
- Sends HTTP requests to the backend (via APIs)
Libraries for JavaScript
React
- Library for building user interfaces
- Component-based architecture
- Manages UI state
Axios
- HTTP client library
- Sends HTTP requests to the backend APIs
Lodash
- Utility library
- Provides helper functions for arrays and objects