JavaScript Basics - Exercise 1
A programming language is a formal way to write instructions for a computer. It provides syntax and rules for expressing logic, working with data, and building software. Those instructions are eventually translated or interpreted into machine-level operations that the computer can run.
Machine language, also known as machine code, is the lowest-level programming language directly understood by a computer's central processing unit (CPU). It consists of binary instructions, usually written as 0s and 1s. Assembly language is a closely related low-level language, but it is not the same thing as machine language.
- Different languages are designed for different kinds of work, such as web development, systems programming, data analysis, or automation.
- Syntax and language features can make some problems easier to express, read, and maintain.
- Libraries, frameworks, and tools vary by language, so developers often choose the ecosystem that best fits the project.
- Platform support matters too. Some languages run well in browsers, some are better for servers, and others target mobile or embedded devices.
- Performance, reliability, team familiarity, and community support also influence which language is used for a specific task.
Front-end technologies are used to build the parts of a website or web app that users see and interact with. They run mainly in the browser and commonly include HTML for structure, CSS for presentation, and JavaScript for behavior.
Back-end languages are used on the server side to handle business logic, data storage, authentication, and APIs. Common back-end languages include JavaScript with Node.js, Python, Java, PHP, Ruby, and C#.
In web development, the front-end refers to the part of a site or app that runs in the browser and is visible to the user. It includes the layout, styling, and interactive behavior built with HTML, CSS, and JavaScript.
Back-end development focuses on the server-side part of an application. It handles tasks such as processing requests, working with databases, authenticating users, and sending data back to the front end.
A front-end developer and a designer both help shape the user experience, but they focus on different parts of the work. The developer builds the interface in code using HTML, CSS, and JavaScript so it works correctly in the browser.
The designer focuses more on visual design and user experience, creating layouts, colors, typography, and interaction ideas in design tools. In many teams, these roles collaborate closely and may overlap.
HTML stands for HyperText Markup Language. It is the standard markup language used to describe the structure of a web page, including elements such as headings, paragraphs, links, images, forms, and lists. HTML defines meaning and structure, not visual styling.
CSS stands for Cascading Style Sheets, a language that controls the presentation of HTML. It defines colors, fonts, spacing, layout, and responsive behavior while keeping visual rules separate from document structure.
JavaScript is a programming language used to add behavior and interactivity to web pages. It can update page content, respond to user actions, validate forms, fetch data, and power full applications in both the browser and the server with environments such as Node.js.