UI Elements

Table of Contents

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

River Photo by Peter on Freepik

Quote

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

Lists

Unordered List

  • Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  • Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  • Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  • Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Ordered List

  1. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  2. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  3. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  4. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Youtube Video

Infobox Style

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.

Tables

Column 1 Column 2 Column 3 Column 4
Row 1 Column 1 Row 1 Column 2 Row 1 Column 3 Row 1 Column 4
Row 2 Column 1 Row 2 Column 2 Row 2 Column 3 Row 2 Column 4
Row 3 Column 1 Row 3 Column 2 Row 3 Column 3 Row 3 Column 4
Row 4 Column 1 Row 4 Column 2 Row 4 Column 3 Row 4 Column 4
Column 1 Column 2
Row 1 Column 1 Row 1 Column 2
Row 2 Column 1 Row 2 Column 2
Row 3 Column 1 Row 3 Column 2
Row 4 Column 1 Row 4 Column 2
  • This is link to external site

Code

Python

def is_prime(n):
    if n <= 1:
        return False
    for i in range(2, int(n ** 0.5) + 1):
        if n % i == 0:
            return False
    return True

number = int(input("Enter a number to check if it's prime: "))
if is_prime(number):
    print(f"{number} is a prime number.")
else:
    print(f"{number} is not a prime number.")

JS

// Toggle visibility of additional content
document.getElementById('toggleButton').addEventListener('click', function() {
  const extraContent = document.getElementById('extraContent');
  if (extraContent.style.display === 'none' || extraContent.style.display === '') {
    extraContent.style.display = 'block';
  } else {
    extraContent.style.display = 'none';
  }
});

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My First Web Page</title>
</head>
<body>
    <h1>Welcome to My First Web Page!</h1>
    <p>This is a simple example of an HTML document.</p>
    <a href="https://www.example.com">Click here</a> to visit Example website.
</body>
</html>

FAQ

Why is your website so awesome?

It's the magic of caffeine, late-night coding, and a sprinkling of unicorn dust. Seriously, we just try to make sure it’s easy to use and full of fun!

What’s your secret to flawless website performance?

We bribe the servers with cookies and promise them a beach vacation if they stay fast!

How do you manage to keep your code bug-free?

We’ve trained the bugs to stay in their own little corner and occasionally offer them a snack to keep them distracted.

What do you do when the internet goes down?

We hold a support group for frustrated users and then take turns yelling at the Wi-Fi router. Sometimes, it works... sometimes.