38

I'm creating an Angular project using angular cli and they are asking me "which stylesheet format would you like to use (use arrow keys)" with different formats.

Why is this appearing?

Andrei Konstantinov
  • 6,971
  • 4
  • 41
  • 57
Azizul Hoq
  • 589
  • 1
  • 4
  • 13
  • For styling the application, stylesheets are used. The types of the stylesheets are scss and sass. You may use any of them for styling – Sivaramakrishnan Feb 09 '19 at 17:50
  • 4
    When that question is asked, just press the return key. That way you will choose the default which is css. – rickz Feb 09 '19 at 18:25
  • When that question (I mean the one above) is asked I would recommend reading what is browser and how it works. I mean, if you don’t know what is css probably you should learn it before angular – smnbbrv Feb 09 '19 at 19:03
  • 6
    I'd recommend selecting SASS. It's backwards compatible with CSS and it has a ton of awesome features. – Chris Smith Nov 27 '19 at 22:04

2 Answers2

14

The Angular CLI provides an interactive experience in some cases. Although you can avoid this by passing in the style flag documented in the angular docs here: https://angular.io/cli/new. If you don't pass in a style sheet you just need to press the up or down arrows to decide which format you prefer

enter image description here

John Graham
  • 573
  • 4
  • 20
  • That is exactly what it says on my screen. – Tihamer Mar 07 '23 at 02:25
  • That is exactly what it says on my screen. Unfortunately, that does not give me any information as to what these options mean. For beginners (especially since CSS is a known standard), the recommendation is to use CSS for now. – Tihamer Mar 07 '23 at 02:33
0

yes, you have to use your keyboard arrow button < ,^, > ... for choosing your options.