Prozedurale Programmierung

Die prozedurale Programmierung ist ein Programmierparadigma unter vielen anderen.
Bei der prozeduralen Programmierung wird ein Programm in kleinere Teile, sogenannte Methoden, unterteilt. Diese Methoden sind die grundlegenden Einheiten , die zum Erstellen eines Programms verwendet werden. Einer der Hauptvorteile der prozeduralen Programmierung ist die Wiederverwendbarkeit des Codes. Allerdings wird die Umsetzung eines komplexen realen Szenarios zu einer schwierigen und umständlichen Aufgabe.

Dialogfenster in JavaScript

Es gibt drei Möglichkeiten auf einer Website mit JavaScript den Nutzern direkt anzusprechen – die drei Dialogboxen mit und ohne Eingabemöglichkeit:

(1) alert()

//eine Pop-Fenster Meldung im Browser
alert("Hallo Welt");
//oder
window.alert("Hallo Welt");



(2) prompt() 

//Pop-Fenster mit Eingabemöglichkeit
confirm("Stimmen Sie meiner Meinung zu?")
//oder
window.confirm("Stimmen Sie meiner Meinung zu?")



(3) confirm()

//Pop-Fenster mit 2 Buttons
confirm("Stimmen Sie meiner Meinung zu?")
//oder
window.confirm("Stimmen Sie meiner Meinung zu?")



( Es gib auch (4) window.console() für eine Kontrollausgabe)

What is Web Development

What is Web Development

Welcome to the world of web development! Millions of users have learned to make websites and web applications on Codecademy — and you could be next.

Having web development skills allows you to take your big ideas — whether it’s a simple website, a complex web application, or even a browser game — and build them on the web!

Meet Alejandra! She is a budding web developer. She runs a small travel agency. Alejandra finds her customers mostly through word of mouth, but now she’s ready to expand her business by building a website.

In this lesson, we will follow Alejandra along her journey to learn new languages for web development, and we will see what kinds of features each new skill allows Alejandra to build for her site.

The four main languages that Alejandra needs to learn include:

  • HTML — structures website content
  • CSS — applies styling to websites
  • JavaScript — adds interactivity to websites
  • SQL — allows your web application to store and retrieve data