Play Rock Paper Scissors in Your Browser

I just created this fun little browser game that you can play right here in your browser. It’s based on HTML and JavaScript so you should be able to play it offline too. πŸ‘‡βœ‚οΈπŸ“ƒπŸͺ¨πŸ‘‡ πŸͺ¨ Rock πŸ“ƒ Paper βœ‚οΈ Scissors Reset Game πŸ‘©β€πŸ’» Player: 0, πŸ€– Computer: 0 In case you’re interested in the JavaScript … Read more

Check JavaScript Version

JavaScript lacks a version number due to its ECMAScript basis, with engines implementing features independently. Instead of version-checking, use feature detection, or transpile code with Babel for older environments. JavaScript, a powerful and versatile programming language, has undergone numerous changes and updates since its inception in 1995. Developers often need to consider which version their … Read more

How to Embed A Live Stock Chart in Your WordPress Blog Given a Ticker

I was just working on a website for financial data analysis and wanted to embed a real demo live trading chart on the company that was being analyzed (YUMM – don’t research it – not worth it). πŸ˜‚ This article shares my experience with TradingView. Embedding a live stock chart on your website or blog … Read more

How to Access the First, Second, or N-th Child Div Element in BeautifulSoup?

To access the first, second, or N-th child div element in BeautifulSoup, use the .contents or .find_all() methods on a parent div element. The .contents method returns a list of children, including tags and strings, while .find_all() returns a list of matching tags only. Simply select the desired index to obtain the child div element … Read more

Python Generate HTML – 3 Easy Ways

πŸ’¬ Problem Statement: How to generate HTML documents in Python? One of the advantages of opting for Python as your programming language is that it is one of the most versatile languages, as it emphasizes code readability with extensive use of white space. It supports a large collection of libraries that serves various purposes, which … Read more

Plotly Dash: Bootstrap Indicator Components Made Easy

Welcome to the bonus content of “The Book of Dash”. πŸ€— Here you’ll find additional examples of Plotly Dash components, layouts and style. To learn more about making dashboards with Plotly Dash, and how to buy your copy of “The Book of Dash”, please see the reference section at the bottom of this article. This … Read more

Working with Markdown Files in Python

This article will show you how to create and work with markdown files using Python. πŸ’‘ Markdown is an excellent tool with many features to spice up a flat-text file, such as changing text colors, adding bullet points, tables, and much more. A terrific way to add pizzazz to an otherwise dull file. To make … Read more