Pry is a REPL (Read, Evaluate, Print, Loop) that pauses your code wherever inserted and allows you to test/debug. When your code gets to the ‘pry’ it...
Hashes are basically like JavaScript objects. They are composed of key/value pairs and each key points to a specific value. For example; a_hash = {...
In Ruby, to access elements, bracket notation is used with the index of the element. fruits = ["banana", "mango", "pineapple"] fruits[0] # =>...
Classes are like the blueprint from which individual objects are created. Class variables Class methods Private Methods Class Variables Class...
ARRAY ITERATOR METHODS. WHAT IS ARRAY ITERATOR?.... An array is a single variable that is used to store different elements. Array iteration-This is...
Pillars of web programming Manipulating the DOM Creating events Communicating with the server Process of communicating with server The click event...