BCSC 2-C | JavaScript Activities
JavaScript Fundamentals
DOM Manipulation
Student Grade Calculator
Learn the basics of JavaScript programming
Display your first JavaScript message
Working with different data types
Basic arithmetic operations
Get input from user using prompts
Check eligibility based on age
Display numbers using loops
Simple button click event
Interactive web pages with JavaScript
Change page colors dynamically
Dynamically add list items
Remove elements from DOM
This is paragraph 1
This is paragraph 2
This is paragraph 3
Count characters in real-time
Characters: 0
Add two numbers
+Result: 0
Switch between images
Add and delete tasks
Exercise 4 - Calculate final grades using arrow functions
Enter scores below to calculate final grade
| Score | Grade |
|---|---|
| 90 – 100 | A |
| 80 – 89 | B |
| 70 – 79 | C |
| 60 – 69 | D |
| Below 60 | F |
* All event listeners use arrow functions (=>)