A curated list of browser globals that commonly cause confusion and are not recommended to use without an explicit window qualifier
Overall
score
97%
Build a simple React component library that demonstrates proper CSS usage with Create React App's CSS handling capabilities.
Create a reusable card component with the following features:
Create a Card component in src/Card.js that:
title, content, and footer as propsCreate a CSS file src/Card.css that provides styling for:
.card class) with padding, border, and background color.card-title class) with appropriate font styling.card-content class) with proper spacing.card-footer class) with distinct stylingThe styling should make the card visually distinct and well-formatted.
Update src/App.js to:
src/App.cssThe implementation must satisfy the following test cases:
The Card component should be implemented in src/Card.js and styled with src/Card.css.
@generates
Provides the React library for building components.
Provides testing utilities for React components.
Install with Tessl CLI
npx tessl i tessl/npm-confusing-browser-globalsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10