Code with me.

{ JamesCode }

Software Engineer || JavaScript || Ruby on Rails || React || Redux

Cover Image for How to Set Up Ruby on Rails on Ubuntu 20.04

James Hoggard
James Hoggard

About me and how to contact me.

More Posts

Cover Image for Methods and Miscellaneous Pt. 2

Methods and Miscellaneous Pt. 2

The first object that you pass into Object.assign is the same one that all the following objects that you pass to that method will be merged into along with its properties.

James Hoggard
James Hoggard
Cover Image for Methods and Miscellaneous Pt. 1

Methods and Miscellaneous Pt. 1

If you do not want to make any alterations to the object then the create method is perfect. Remember that by using Rails ActiveRecord::Base methods we can create an object using both the new method and the create method.

James Hoggard
James Hoggard
Cover Image for DOM Manipulation & Event Handling

DOM Manipulation & Event Handling

You can use the DOM contains() method to check if a certain element is a descendant of another. This property will return a Boolean value revealing whether this is the case.

James Hoggard
James Hoggard
Cover Image for Familiarize Yourself with the Console

Familiarize Yourself with the Console

There will be times when you will not want to call a method on your class object and rather just want to see all the instances of that class and how they are ordered in that particular array.

James Hoggard
James Hoggard