DEV Community

loading...

Discussion on: Random Quote Generator Using HTML, CSS, and JavaScript

Collapse
rajeshkumaryadavdotcom profile image
RajeshKumarYadav.com • Edited

How your code so so colourful on dev.to code panel while my ones are black and white?

How did you write your code? Did you use 3 backtick then code then 3 backtick?

Collapse
nehasoni__ profile image
Neha Soni Author • Edited

Add the type of file after your opening backticks for syntax highlighting.

Collapse
rajeshkumaryadavdotcom profile image
RajeshKumarYadav.com

wow that worked, thank you so much - tons of hearts :)