diff --git a/tutorials/building-a-simple-web-blog-with-vweb.md b/tutorials/building-a-simple-web-blog-with-vweb.md index ffbb2a224c..5387098595 100644 --- a/tutorials/building-a-simple-web-blog-with-vweb.md +++ b/tutorials/building-a-simple-web-blog-with-vweb.md @@ -342,7 +342,7 @@ pub fn (app mut App) new_article() { title := app.vweb.form['title'] text := app.vweb.form['text'] if title == '' || text == '' { - app.vweb.text('Empty text/titile') + app.vweb.text('Empty text/title') return } article := Article{ @@ -359,7 +359,10 @@ pub fn (app mut App) new_article() { parameters via function arguments: `new_article(title, text string) {`. We need to update `index.html` to add a link to the "new article" page: + +```html New article +``` diff --git a/tutorials/img/articles_json.png b/tutorials/img/articles_json.png new file mode 100644 index 0000000000..a675ebd08a Binary files /dev/null and b/tutorials/img/articles_json.png differ