Angular - FundamentalsWhich of the following is the correct folder path for storing global styles in a default Angular project?Asrc/styles.cssBsrc/app/styles.cssCsrc/assets/styles.cssDsrc/environments/styles.cssCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify global styles locationGlobal styles are usually placed directly under src as styles.css or styles.scss.Step 2: Verify other optionssrc/app is for components, assets is for images and files, environments is for config files.Final Answer:src/styles.css -> Option AQuick Check:Global styles file = src/styles.css [OK]Quick Trick: Global styles live in src/styles.css by default [OK]Common Mistakes:Putting styles in src/app folderConfusing assets with stylesUsing environments folder for styles
Master "Fundamentals" in Angular9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallPerf
More Angular Quizzes Angular Modules - Root module (AppModule) structure - Quiz 7medium Component Interaction - Why component communication matters - Quiz 4medium Component Interaction - @Input decorator for parent to child - Quiz 11easy Component Interaction - Child to parent communication flow - Quiz 4medium Components - Creating components with CLI - Quiz 1easy Directives - Why directives are needed - Quiz 15hard Directives - ngStyle for dynamic styles - Quiz 4medium Lifecycle Hooks - ngAfterContentInit for projected content - Quiz 8hard TypeScript in Angular - Enums in Angular applications - Quiz 8hard TypeScript in Angular - Decorators as TypeScript feature - Quiz 13medium