How do i do this?

So, ive been making a website and one thing i wanna add is a guest book to it but i dont know how to code it.

If you dont know what a guest book is, its where a person on a website can leave a comment on the website.

If you now how to make this in wick editor, tell me in the replys.

1 Like

If you want to make a guestbook for your website, you first need to implement server code into Wick. That does take a few external programs and server expertise about port forwarding and allat.

You will have to use multiplayer which can be supported by wick, just go here https://forum.wickeditor.com/t/online-multiplayer-code/8725 this person does all the explaining so I don’t have to

2 Likes

Wick shouldn’t be the website code, instead learn HTML and a server framework like ruby or php

2 Likes

Yeah, he’s exactly right

2 Likes

Explanation:

  1. Wick is one HTML <CANVAS /> element, these don’t work with screen-readers or keyboards without manually programming those features that HTML supports.
  2. Wick does not have a good text API, causing a major pain when creating usual web components. (comment sections, guestbooks, blogs, etc.)
  3. Wick does not nicely integrate with APIs.
fetch("example.com/guestbookPosts", {
  method: "POST",
  headers: { "Is-Wick": "true" }
}).then((fdata) => {
   fdata.json().then((json) => {
    json.forEach( (comment) => { console.log(`${comment.user} at ${new Date(comment.unix).getDate()} said: ${comment.text}`) }; )
  });
});