In this exercise, students will practice basic JavaScript interaction with the user using:
prompt()- HTML input fields
- DOM manipulation
- Functions
- GitHub Pull Requests
The goal is to demonstrate understanding of JavaScript fundamentals and GitHub collaboration workflow.
- Fork this repository into your GitHub account.
- Clone your fork to your computer.
- Open the project in your code editor.
- Complete the exercises inside the provided HTML files.
- Make sure your code works correctly in the browser.
- Commit your changes with a clear message.
- Push your changes to your fork.
- Create a Pull Request to the original repository.
This Pull Request is only for review and evaluation.
It will not be merged into the main repository.
Create a page that:
- Asks the user for their name using
prompt(). - Displays a welcome message inside a paragraph.
Example output:
Welcome, Maria
Create a page that:
- Contains two number inputs.
- Has a button labeled Sum.
- When clicked, shows the sum of the two numbers below.
Example output:
The result is 10
- One Pull Request per student.
- Do not modify files outside the exercise scope.
- Your code must be readable and well structured.
- Your Pull Request will be reviewed and graded.
| Criteria | Points |
|---|---|
| Correct functionality | 40 |
| Clean code | 25 |
| Proper Git usage | 20 |
| Naming and structure | 15 |
| Total | 100 |
Good luck and happy coding! 🚀