Svelte If Statements

If statements in Svelte make it easy to control whether or not content is displayed in your application. Here is a quick reference on how to use them

{#if condition}
    Display this content if true

To display the content inside of the if statement, set the variable to true somewhere in your article.



Be the first to comment!

Read More

Nginx Logo
Nginx Logo

How to setup Nginx server blocks for multiple sites - Ubuntu

Setting up nginx server blocks is a process that allows you to host multiple websites on a single server. It is a useful technique for those who want to host multiple websites or applications on a single machine, as it allows you to use a single IP address and port to host mult...

Node JS HTTP Webserver

Node JS comes out of the box with a built in HTTP module that can handle Hypertext Transfer Protocol requests. You can use this to build a web server without installing anything.