Creating individual posts in Visual Studio


At the moment I am trying to create my first website, using Visual Studio Code.
And I wonder what I can do to create single posts, with clickable headlines, so that the user/visitor is sent to a single post? And how that is done in Visual Studio Code that is.
Sort of like how it works in Wordpress. In Wordpress the user clicks on a post and then gets sent to that specific post, which has its own text and images unique to that post.
At the moment I can create a homepage but I don’t quite know how to create single posts that has its own part(space) in the website.


Hey there,

nice to meet you! :wave:

Wordpress is based on PHP, a very powerful language.

The concept of any of these systems is like this (short explanation):

  • there is some kind of data storage, e.g. a database, a file, a data structure, that holds all posts
  • something fetches these posts and shows you a list of all posts
  • you click on a specific link
  • something fetches the post data for this specific link
  • something sends you on a route for this specific link
  • you can see the specific post content

As you can see, this is more complicated under the hood.

Since you’ve just started your journey, I think the most practical solution is to create an HTML page for each blog post.

On the long run, this is not scalable (think about a page with 100 posts). This is when you need some other skills (e.g. JavaScript).

Aha ok thanks. Nice to meet you too.

So what is the most common thing to do when you are a frontend- or fullstack developer that helps their new customers to create websites?

Do they usually create their websites in Local and Wordpress and write their code there? Or do they create it all from scratch using Visual studio Code or some other text editor?

Ok, so Javascript is needed to create several posts in a scalable fashion? Otherwise I would have to create several index.html-files for each post in the website?

Do you have any Javascript-commands in mind that I could use to create those segments and posts, within the same website? I have done a little bit of training in Javascript and I would like to learn more.

I’d like to know as well. I want to create a blog that displays all posts chronologically on the front page. I didn’t know I needed Javascript for that.