Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Indexing | Exploring Arrays
Introduction to JavaScript

Sveip for å vise menyen

book
Challenge: Indexing

Oppgave

Swipe to start coding

  • You have an array named colors that contains the following four colors in this exact order: Red, Green, Blue, Yellow;
  • Print the first color in the array using console.log().
  • Print the third color in the array using console.log().

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 5. Kapittel 3

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
Challenge: Indexing

Oppgave

Swipe to start coding

  • You have an array named colors that contains the following four colors in this exact order: Red, Green, Blue, Yellow;
  • Print the first color in the array using console.log().
  • Print the third color in the array using console.log().

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 5. Kapittel 3
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt