Full Stack Web Development
2 chapters
HTML & Modern CSS
2/2
Listen to Notes
0:000:00
HTML & Modern CSS
Full Stack Web Development module 2 focuses on html & modern css in a practical engineering context.
Learning objectives
- Explain the role of html & modern css in a complete web development workflow.
- Apply the technique to a small, testable implementation.
- Evaluate trade-offs and communicate a production-minded decision.
Practice
Build a focused exercise for Full Stack Web Development, review the result against the module goals, and record one improvement for the capstone.
Two Sum
BEGINNER
Two Sum
Given an array of integers `nums` and an integer `target`, return the indices of the two numbers that add up to `target`.
You may assume exactly one solution exists, and you may not use the same element twice.
Examples
```
Input: nums = [2, 7, 11, 15], target = 9
Output: [0, 1] // nums[0] + nums[1] = 9
```
```
Input: nums = [3, 2, 4], target = 6
Output: [1, 2]
```
Constraints
- `2 ≤ nums.length ≤ 10⁴`
- `-10⁹ ≤ nums[i] ≤ 10⁹`
- Exactly one valid answer exists.