Fork of HTML Starter
This example presents a static HTML page that displays the Four Noble Truths of Buddhism, organized into four sections with lotus emojis and text. The page uses a simple structure with an `index.html` file that links to `styles.css` and an `index.js` script. The CSS file applies a large, centered font size to a div with the class "message," while the JavaScript file only logs "hello world" to the console. The content is hardcoded in the HTML, with no interactive elements or external data sources.
AI-generated descriptionThe Four Noble Truths are the foundation of the Buddha’s teachings. They provide a clear framework for understanding suffering and the path to liberation:
🪷 1. Dukkha – The Truth of Suffering Life involves suffering, dissatisfaction, and stress. This includes:
Physical pain
Emotional discomfort
Impermanence and loss Even pleasure is impermanent, and so it too can cause suffering when it fades.
🪷 2. Samudaya – The Origin of Suffering Suffering arises from craving (taṇhā), clinging, and ignorance. We suffer because we:
Crave things to be a certain way
Cling to people, identities, or experiences
Resist the reality of change
🪷 3. Nirodha – The Cessation of Suffering Freedom from suffering is possible. By letting go of craving and attachment, we can experience nirvana — peace, clarity, and liberation.
🪷 4. Magga – The Path to the End of Suffering The path to liberation is the Noble Eightfold Path, which includes:
Right View
Right Intention
Right Speech
Right Action
Right Livelihood
Right Effort
Right Mindfulness
Right Concentration
This path leads to wisdom, ethical living, and mental discipline.