Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Temperature Advisor | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Temperature Advisor

Aufgabe

Swipe to start coding

Write a program that gives clothing advice based on the temperature.

Use an if-else statement to check:

  • If the temperature is above or equal to 25°C, output: "It is warm outside. Wear light clothes!".
  • Otherwise, output: "It is cold outside. Wear a jacket!".

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 38
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Temperature Advisor

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

Write a program that gives clothing advice based on the temperature.

Use an if-else statement to check:

  • If the temperature is above or equal to 25°C, output: "It is warm outside. Wear light clothes!".
  • Otherwise, output: "It is cold outside. Wear a jacket!".

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 38
single

single

some-alt