Skip to content

ThirteeNov

My personal blog about coding and internet

Menu
  • About me
  • About Zofia Kreasi
  • Cart
  • Checkout
  • Making an airplane game from scratch in Unity
  • My account
  • Privacy Policy
  • Privacy Policy – zkLeaderboard
  • Sample Page
  • Shop
  • Tutorials on Learning JavaScript
  • ZKAccounts – Privacy Policy
Menu

Category: HTML5, CSS & JavaScript

How to generate random text using JavaScript

Posted on April 27, 2018August 4, 2020 by Habibie

In this post I’m going to share a JavaScript function, if you call it (and assign some number as length of randomized text you want), it will return random text.

Read more

JavaScript codes to only accept alphabet letters and numbers from your users

Posted on April 27, 2018August 4, 2020 by Habibie

Sometimes we ask our users to type in something and we only accept alphabet numbers and/or letters, so they should not type something like #$%!@$&%(…

Read more

How to create an HTML input box with search icon inside it?

Posted on April 23, 2018August 4, 2020 by Habibie

We can make an interesting search input by styling it with css, by adding search icon like what we see in this image:

Read more

JavaScript Table of Contents Generator

Posted on April 23, 2018August 4, 2020 by Habibie

I had a project to create table of contents of huge text files with .html format, it was thousands. Then I’ve developed a JavaScript Table of Contents generator that detect some text to be included as TOC.

Read more

Trim a text and show an ellipsis instead full text with CSS

Posted on April 22, 2018August 4, 2020 by Habibie

In case we have a div element with fixed width, for example 100 pixels, and we only want to show an excerpt of text instead showing full text, let’s use this simple css trick.

Read more

How to use zklevedit (tile and level editor for Phaser)

Posted on April 11, 2018August 4, 2020 by Habibie

I’ve created a kind of level and tile editor for making games with Phaser. Please watch my video tutorial about how to use it here:

Read more

Phaser basics and useful snippets

Posted on March 28, 2018August 4, 2020 by Habibie

Phaser is a really good JavaScript library for creating games that you can play it in web browsers. In this post I’ll share basic stuffs how to use Phaser.

Read more

Another Simple JavaScript Encryption

Posted on March 25, 2018August 4, 2020 by Habibie

Somebody asked me how to do an encryption just like if we type “a” it should return “d” (3 letters after “a” position).

Read more

How to use jQuery to perform a Quick Search

Posted on February 27, 2018August 4, 2020 by Habibie

In this post I’m going to share a source code for performing quick search functionality using jQuery.

Read more

How to save an image from html5 canvas

Posted on February 26, 2018August 4, 2020 by Habibie

With HTML5’s Canvas we can draw nice graphics. But how we can save it as an image? Of course we can right click on the canvas and download that image. But here I’m going to share a script to download it programmatically by a clicking a link.

Read more

Toggling visibility of an element with jQuery

Posted on February 7, 2018August 4, 2020 by Habibie

By calling .toggle() or .fadeToggle() with jQuery we can toggle visibility of an element easily.

Read more

How to make dimmer (appears darker) effect on HTML page

Posted on January 5, 2018August 4, 2020 by Habibie

Learn how to make dimmer effect on HTML page to make user focused on a message that we display it on the page.

Read more

How to create and remove an HTML element with JavaScript

Posted on December 4, 2017August 4, 2020 by Habibie

To create and remove an HTML element with JavaScript, we can simply call these methods respectively: appendChild() and removeChild() after accessing parent element for that new element.

Read more

HTML5 & JavaScript Contact Manager

Posted on November 1, 2017August 4, 2020 by Habibie

In this video tutorial I’ll demonstrate how to create contact input to submit contact info into JavaScript contact array and how to delete it.

Read more

JavaScript simple and basic localization functionality

Posted on November 1, 2017August 4, 2020 by Habibie

You want to provide localization capability to your web app? In this tutorial I’ll show you how to do it. Let’s watch this video tutorial and grab the source code below.

Read more

Replacing multiple characters case insensitively in JavaScript

Posted on November 1, 2017August 4, 2020 by Habibie

By using replace() function on any string variable, we can replace character(s) with another character(s). But by default it will only replace the first occurrence. What if we want to replace all occurrence? Here I’ll show you how.

Read more

How to truncate a text with JavaScript

Posted on October 31, 2017August 4, 2020 by Habibie

If we have a long long text and we only want to show our users some part of that text, well we need to truncate that text. In this tutorial I will show you how to do that with JavaScript. And here is the source code: <!DOCTYPE html> <html> <head> <title>ZK Tutorials</title> </head> <body> <h1>Truncating…

Read more

JavaScript Object and JSON – Convertion from one to another

Posted on October 26, 2017August 4, 2020 by Habibie

What is JSON and how to convert JavaScript object into JSON and from JSON to Object. In this tutorial, By calling JSON.parse() and JSON.stringify(), I’ll show you how.

Read more

Simple JavaScript Input Validation Tutorial

Posted on October 20, 2017August 4, 2020 by Habibie

Make your web forms more secure by validating users input, like only allowing alphabets A to Z and numbers only, etc… Watch this tutorial to know how.

Read more

JavaScript text search tutorial

Posted on October 4, 2017August 4, 2020 by Habibie

How to search text inside a page or multiple html pages in JavaScript? It’s easy, here I will share how to make it done.

Read more

Posts pagination

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Python
  • Uncategorized
  • Unity
  • WordPress

Recent Posts

  • Make objects like wires and cables easily in Unity using Ciihuy Curved Mesh
  • [SOLVED] Can’t Add Custom Domain to Blogger After Losing CNAME Verification
  • iOS App Icon Generator by CiihuyCom
  • Advanced Blinking Marker Script to show objects position in your game canvas
  • Ciihuy Images Merger – Fast & Easy Online Image Combiner
© 2025 ThirteeNov | Powered by Superbs Personal Blog theme