Complete the code to import the HTTP server module from Deno's standard library.
import { serve } from "https://deno.land/std/http/[1].ts";
The correct module to import the HTTP server is server from the standard library URL.
Complete the code to import the path module from Deno's standard library.
import * as path from "https://deno.land/std/[1]/path/mod.ts";
The path module is located under the path folder in the standard library.
Fix the error in the import statement to correctly import the colors module.
import { red } from "https://deno.land/std/fmt/[1].ts";
The correct folder name for color utilities is colors inside the fmt directory.
Fill both blanks to import the assertEquals function from the testing module.
import { [1] } from "https://deno.land/std/testing/[2].ts";
The function assertEquals is imported from the asserts module inside the testing folder.
Fill all three blanks to create a simple HTTP server that responds with 'Hello World'.
import { serve } from "https://deno.land/std/http/[1].ts"; const server = serve({ port: [2] }); for await (const [3] of server) { [3].respond({ body: "Hello World" }); }
The HTTP server module is server. The port is commonly set to 8080. The request variable is often named req to handle incoming requests.
