1. Home
  2. /
  3. Foundation
  4. /
  5. Callout Example

Callout Example - Foundation Typing CST Test

Loading…

Callout Example — Foundation Code

Shows a Foundation callout box for notifications or important messages.

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@6.7.5/dist/css/foundation.min.css">
	<title>Foundation Callout</title>
</head>
<body>
	<div class="grid-container">
		<div class="callout primary">
		<h5>Primary Callout</h5>
		<p>This is an example of a Foundation callout box.</p>
		<button class="close-button" aria-label="Dismiss" type="button">
		<span aria-hidden="true">&times;</span>
		</button>
		</div>
	</div>
	<script>
		document.querySelectorAll('.close-button').forEach(btn => {
		btn.onclick = () => btn.parentElement.remove();
		});
	</script>
</body>
</html>

Foundation Language Guide

Foundation is a responsive front-end framework that provides a mobile-first grid system, prebuilt UI components, and flexible styling utilities. It is designed to speed up development while maintaining accessibility and consistency.

Primary Use Cases

  • ▸Responsive web apps
  • ▸Corporate websites
  • ▸Prototyping and MVPs
  • ▸Design systems and UI kits
  • ▸Accessible front-end development

Notable Features

  • ▸Mobile-first responsive grid
  • ▸Prebuilt UI components (buttons, forms, modals)
  • ▸Sass-based customization
  • ▸Accessibility-ready components
  • ▸Built-in JavaScript plugins

Origin & Creator

Created by ZURB in 2011 as a professional-grade front-end framework for rapid prototyping and production-ready websites.

Industrial Note

Foundation is ideal for teams needing accessible, responsive, and enterprise-ready front-end frameworks, especially in complex web applications and rapid prototyping environments.

More Foundation Typing Exercises

Foundation Counter ExampleFoundation Top Bar ExampleFoundation Card ExampleFoundation Accordion ExampleFoundation Reveal Modal ExampleFoundation Tabs ExampleFoundation Form ExampleFoundation Table Example

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher