Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

playground #2

Open
2 of 3 tasks
Juanhergo69 opened this issue Jan 29, 2025 · 0 comments
Open
2 of 3 tasks

playground #2

Juanhergo69 opened this issue Jan 29, 2025 · 0 comments
Assignees

Comments

@Juanhergo69
Copy link

Juanhergo69 commented Jan 29, 2025

Tasks

  • play with markdown

Write the next code:

  • Clock with alarm in 8 hours & 30 minutes
for (let hour = 0; hour<24; hour++) {
for (let minute = 0; minute<60; minute++) {
console.log('hour:'+hour+'minute'+minute)
if (hour === 8 && minute === 30) {
console.log('Wake up bandit')
}
}
}
  • Develop a laboral calendar (too hard for me)
console.log('despair')

The great Solaire of Astora praises the sun for all of us!

Solaire

Train your imagination (free coding):

Array with heroes:

let heroes = ['Batman', 'Superman', 'Aquaman', 'Wonder Woman']
heroes[3] = 'Robin'
heroes.push('Flash')
console.log(heroes)
console.log(heroes.length)

Login

const greetings = 'Hello, '
let names = ['Flors','Laura The Boss', 'Cristina', 'Daniel', 'Roger', 'Alicia', 'Amanda', 'Livia']
console.log(greetings.concat(names[0])
console.log(greetings.concat(names[1])
console.log(greetings.concat(names[2])
console.log(greetings.concat(names[3])
console.log(greetings.concat(names[4])
console.log(greetings.concat(names[5])
console.log(greetings.concat(names[6])
console.log(greetings.concat(names[7])

Working with numbers

let numbers = [20, 30]
let add = numbers[0]+numbers[1]
console.log(add)
let subtract = numbers[0]-numbers[1]
console.log(subtract)
let multiply = numbers[0]*numbers[1]
console.log(multiply)
let split = numbers[0]/numbers[1]
console.log(split)
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Jan 29, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 5, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 6, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 6, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 7, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 8, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 9, 2025
Juanhergo69 added a commit to Juanhergo69/isdi-parttime-202501 that referenced this issue Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant