Code Playground

This is where I practice using Javascript.

Click here to see the code

🗡️ Quote Generator 🏴󠁧󠁢󠁳󠁣󠁴󠁿

Press the button to generate a random couple of lines from 'Macbeth'



Quote will appear here


Sonnet Finder

Enter a number to see one of Shakespeare's sonnets, or click 'Get Sonnet' for a random one



🏛️ Caesar Cipher 🔐

A nifty implementation of one of the best exercises a Javascript novice can do: scrambling messages the Roman way.

Encode or decode? Select key:

Decoded message:

YOUR MESSAGE WILL APPEAR HERE


Text Echo

My very first piece of HTML-based Javascript. All it does is show what you write in the box.

An exercise in learning DOM


Output will go here:


String Length Counter



🔄 Text Reverser 🔄


Output will go here:


Click to Copy

Copy successful!

Autocomplete

JS to provide an auto-complete answer to a user's query.


CSV to HTML

A simple piece of JS which will attempt to change some raw CSV into an HTML table

At the moment, it generates an extra column on the right hand side when there are more than two rows, and for the life of me I can't work out how to stop it from doing so.