Tag: JavaScript

  • Monkeybot & Parrotbot

    Monkeybot & Parrotbot

    The previous version of my website had the chatbots Monkeybot and Parrotbot integrated into two of the pages. They are not integrated into the current version, but I’ve uploaded stand-alone versions of Monkeybot here and Parrotbot here. Monkeybot replies with a string of random letters to any user questions, while Parrotbot copies user input and…

  • Monkeybot – a simple chatbot template

    Monkeybot – a simple chatbot template

    Update: a slightly different version of the code is now on GitHub, and you can test Monkeybot here. I made a simple chatbot called Monkeybot for my website, and I’ll share the code for anyone who wants to do something similar. The Monkeybot simply replies with a string of random letters to any question from…

  • Randomly display different versions of an image

    Randomly display different versions of an image

    I created two versions of an illustration of a letter to be displayed on the contact page of my website. I wanted which version of the image that was displayed to be random and wrote some code to make this happen. I’ll share the code here incase some wants to something similar on their website.…

  • How to use onmouseover Events

    How to use onmouseover Events

    I created some images for my homepage that will change if the user hovers over or clicks the images. Each image has three different states/animations. The change can be done using simple HTML onmouseover events and there is no need for CSS or JavaScript. Example of code for changing between three images: Start by using…