Privacy

Table of Content

Table of Content

Table of Content

Control Flow

Control flow determines how JavaScript executes code based on conditions and loops. This allows developers to create dynamic and responsive programs.

This Privacy Policy describes how Alevio ("we,"

"our," or "us"), founded and led by Felix Danyluk (CEO and Founder), collects, uses, and discloses your information when you use our application, website, and services (collectively, the "Service").

Wichtig: Alevio ist als privacy-first Anwendung konzipiert. Alle deine persönlichen Daten werden lokal auf deinem Gerät gespeichert und nicht an unsere Server übertragen, es sei denn, du aktivierst explizit Cloud-Funktionen.

1. Information We Collect

Alevio operates primarily as a local application.

The information stored includes:

• Personal information: name and preferences (stored locally only).

• Usage data: daily responses and insights (stored locally only).

• Device information: app preferences and settings (stored locally only).

• Al Chat data: when using Al features, messages are sent to OpenAl for processing.

2. How We Use Your Information

We use the information we collect to:

• Provide, maintain, and improve our Service.

• Personalize your experience.

• Communicate with you about our Service.

• Monitor and analyze trends, usage, and activities.

3. Sharing Your Information

We may share your information with:

• Service providers who perform services on our behalf.

• Business partners with whom we jointly offer products or services.

• Law enforcement or other third parties when required by law.

4. Data Security

We implement appropriate technical and organizational measures to protect the security of your personal information. However, please note that no method of transmission over the note that no method of transmission over the Internet or method of electronic storage is 100% secure.

5. Your Choices

You can access, update, or delete your account information at any time by logging into your account settings. You may also contact us directly to request access to, correction of, or deletion of any personal information that you have provided to us.

6. Children's Privacy

Our Service is not intended for children under the age of 13. We do not knowingly collect personal information from children under 13. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us.

7. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.

8. Company Information

Alevio is founded and led by Felix Danyluk, CEO and Founder. Our commitment to privacy and data protection is a core value of our leadership team.

9. Contact Us

If you have any questions about this Privacy Policy, please contact us at privacy.alevio@gmail.com

Conditional Statements

Conditional statements execute different blocks of code depending on specified conditions.

if Statement

The if statement runs a block of code if a condition evaluates to true.

let age = 18;

if (age >= 18) {
  console.log("You are an adult.");
}

if...else Statement

The else block runs if the condition in if is false.

let age = 16;

if (age >= 18) {
  console.log("You are an adult.");
} else {
  console.log("You are a minor.");
}

if...else if...else Statement

Used when multiple conditions need to be checked.

let score = 85;

if (score >= 90) {
  console.log("Grade: A");
} else if (score >= 80) {
  console.log("Grade: B");
} else {
  console.log("Grade: C or lower");
}

Ternary Operator (Shorter if...else)

A shorthand way to write an if...else statement.

let isMember = true;
let discount = isMember ? "10% off" : "No discount";
console.log(discount);

Switch Statement

The switch statement is used when checking multiple possible values of a variable.

let day = "Monday";

switch (day) {
  case "Monday":
    console.log("Start of the week.");
    break;
  case "Friday":
      console.log("Weekend is near.");
      break;
  case "Sunday":
    console.log("Relax, it's the weekend.");
    break;
  default:
    console.log("A regular day.");
}
  • break prevents fall-through execution to the next case.

  • default runs if no case matches.

Loops in JavaScript

Loops allow repetitive execution of code until a condition is met.

for Loop

Used when the number of iterations is known.

for (let i = 1; i <= 5; i++) {
  console.log("Iteration:", i);
}

while Loop

Executes as long as the condition remains true.

let count = 1;

while (count <= 5) {
  console.log("Count:", count);
  count++;
}

do...while Loop

Similar to while, but always executes at least once.

let num = 1;

do {
  console.log("Number:", num);
  num++;
} while (num <= 3);

Loop Control Statements

break Statement

Exits a loop immediately.

for (let i = 1; i <= 10; i++) {
  if (i === 5) {
    break;
  }
  console.log(i);
}

Output: 1 2 3 4 (stops at 5).

continue Statement

Skips the current iteration and continues with the next.

for (let i = 1; i <= 5; i++) {
  if (i === 3) {
    continue;
  }
  console.log(i);
}

Output: 1 2 4 5 (skips 3).

Conclusion

This section covered conditional statements and loops, which control program flow. The next section will focus on functions, an essential part of writing reusable and structured JavaScript code.

Create a free website with Framer, the website builder loved by startups, designers and agencies.