6. Comment écrivez-vous « Hello World » dans une boîte d’alerte?A msg("Hello World");B alert("Hello World");C msgBox("Hello World");D alertBox("Hello World");

Question

6. Comment écrivez-vous « Hello World » dans une boîte d’alerte?A msg("Hello World");B alert("Hello World");C msgBox("Hello World");D alertBox("Hello World");
🧐 Not the exact question you are looking for?Go ask a question

Solution 1

La réponse correcte est B. alert("Hello World");

Voici comment vous pouvez le faire étape par étape:

  1. Ouvrez un éditeur de texte ou un environnement de développement intégré (IDE) pour écrire du code JavaScript.

  2. Écrivez le code suivant:

alert("Hello World");
  1. Enregistre Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv

This problem has been solved

Similar Questions

6. Comment écrivez-vous « Hello World » dans une boîte d’alerte?A msg("Hello World");B alert("Hello World");C msgBox("Hello World");D alertBox("Hello World");

Dans la conception de votre document, et si vous avez utilisé une licence BY-NC-SA, elle devra être :Question 5Select one:a.CC-BY-NC-SAb.CC-BY-NCc.CC-BY

15. If A = {2, 3, 4, 5} B = {4, 5, 6, 7} C = {6, 7, 8, 9} D = {8, 9, 10, 11},Find:a) A Ս B (1 mark)b) C ∩ D

2. What is the output when we execute list(“hello”)?a) [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]b) [‘hello’]c) [‘llo’]d) [‘olleh’]

Get the characters:From: "o" in "World!" (position -5)To, but not included: "d" in "World!" (position -2):b = "Hello, World!"print(b[-5:-2])Try it Yourself »

1/3