Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.7 KB

README.md

File metadata and controls

43 lines (32 loc) · 1.7 KB

theOdinProject-MiniMessageBoard

[The Odin Project: Node] - Project: Mini Message Board

Intro

🎨 Color Reference

 Color             Hex                                                                
 Gold  #FFD700 #FFD700 
 Black  #141720 #141720 
 White  #fff #fff 

Development

  • I learned how to apply a favicon in an express app. It involves using the serve-favicon npm package
  • I learned how to use Sass in an expres app. I noticed that I did initialized with the generator the sass flag (--css=sass), but I noticed that it was not applying the changes I was making to my sass file. So to fix, in app.js I changed the indentedSyntax to false and change the file extension of my .sass file to .scss. Code below
  • app.use(
    	sassMiddleware({
    		src: path.join(__dirname, 'public'),
    		dest: path.join(__dirname, 'public'),
    		indentedSyntax: false, // true = .sass and false = .scss
    		sourceMap: true
    	})
    );
    

Technologies:

  • Sass
  • Node
  • Nodemon
  • Heroku
  • Express