Skip to content

Raul-Gamero/JavaScript-Basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

JavaScript Basics – Input, Output and Sum

πŸ“– Description

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.


πŸ“ Instructions

  1. Fork this repository into your GitHub account.
  2. Clone your fork to your computer.
  3. Open the project in your code editor.
  4. Complete the exercises inside the provided HTML files.
  5. Make sure your code works correctly in the browser.
  6. Commit your changes with a clear message.
  7. Push your changes to your fork.
  8. Create a Pull Request to the original repository.

⚠️ Important:
This Pull Request is only for review and evaluation.
It will not be merged into the main repository.


🎯 Exercise 1

Create a page that:

  • Asks the user for their name using prompt().
  • Displays a welcome message inside a paragraph.

Example output:
Welcome, Maria


🎯 Exercise 2

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


πŸ“€ Submission Rules

  • 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.

βœ… Grading Criteria

Criteria Points
Correct functionality 40
Clean code 25
Proper Git usage 20
Naming and structure 15
Total 100

Good luck and happy coding! πŸš€

About

Input, Output and Sum (Pull Request Submission)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors