MongoDB: How to install mongodb-community on Mac and run on localhost

The goal of this article is to show how to get mongodb-community to run on a Mac at localhost:27017. This assumes that Homebrew has already been installed on your Mac machine. Using a terminal or bash window, start with the following brew command:brew tap mongodb/brew In this screenshot, I used this command after I already … Continue reading MongoDB: How to install mongodb-community on Mac and run on localhost

Node.js: How to launch a temporary server and view output in a web browser

Once you have successfully written some node.js code and have viewed the results via command line, (see my previous article about this, linked below) the next logical step is to be able to write node.js code that can use HTML and be viewable in a web browser. To view node.js output in a web browser, … Continue reading Node.js: How to launch a temporary server and view output in a web browser

Node.js: How to write node.js code locally and test using the command line

The first thing we want to do when getting ready to code in node.js is make sure that Node and NPM are installed on our machine. Start by opening a command window and type the command node -v. Then check to confirm that NPM is installed also using the command npm -v: Once that is … Continue reading Node.js: How to write node.js code locally and test using the command line

AngularJS: How to use ng-show to hide or reveal elements on click

In this article, I will describe how to use the AngularJS directive ng-show for clicking a button to reveal hidden data. The steps below demonstrate how to use AngularJS to hide or reveal data based on clicking an element. In a combination of HTML and JavaScript, it uses AngularJS directives ng-app, ng-controller, ng-click, ng-show, and … Continue reading AngularJS: How to use ng-show to hide or reveal elements on click

jQuery: How to detect if JavaScript and jQuery are working in a sandbox environment

Recently I was working in a Piano template sandbox environment where I could edit HTML and CSS code to build a Piano template. This sandbox uses AngularJS, HTML, and CSS, but I wanted to see if it provided JavaScript and jQuery functionality so that I could enhance the template I was working on with some … Continue reading jQuery: How to detect if JavaScript and jQuery are working in a sandbox environment