gallery Now that we've looked at the fundamental building blocks of JavaScript, we'll test your knowledge of loops, functions, conditionals and events by building a fairly common item you'll see on a lot of websites - a JavaScript-powered image gallery.
Functions are a fundamental building block of JavaScript. A function is a JavaScript procedure: a set of statements that performs a specific task. To use a function, you must define it before your script can call it.
Funktionen sind ein grundlegender Bestandteil von JavaScript. Eine Funktion ist ein JavaScript-Verfahren: Ein Satz Anweisungen, der einen bestimmten Task ausführt. Um eine Funktion zu verwenden, müssen Sie sie definieren, bevor Ihr Skript sie aufrufen kann.
Tutorial March 2016 Takeaway: One way to speed up the DOM ready time of your site is to avoid the use of JavaScript (a type of code) that blocks and prevents a browser from parsing HTML code.
Gewonnene Erkenntnis: Um die Zeit bis zur DOM-Bereitstellung Ihrer Website zu verkürzen, sollten Sie die Nutzung von JavaScript (einer Art von Programm-Code) vermeiden, da es den Browser blockiert und ihn davon abhält, HTML-Codes zu parsen.
Large blocks of information should be grouped so they are more manageable.
Große Datenblöcke sollten gruppiert werden, sodass sie leichter zu verwalten sind.
To revive the ancient block of wood, he planned to cleave it carefully.
Um den alten Holzblock wiederzubeleben, plante er, ihn sorgfältig zu spalten.
He sets it against the large block of ice, before running back.
Er setzt es an den großen Eisblock, bevor er wieder zurückrennt.
Ceramic inlays which are milled or ground from industrially prefabricated blocks of ceramic.
Keramikinlays, die aus fabrikmäßig vorgefertigten Keramikblöcken gefräst oder geschliffen werden.
Killed by suffocation when encased in a block of gelatin.
Getötet und erstickt, als er in Gelatine eingeschlossen wird.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.