MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

error in ./resources/assets/sass/app.scss

If you are getting this error (error in ./resources/assets/sass/app.scss) in Node module please follow some steps which is have mentioned in the following Error:- Many of you get this error when you did not change anything in app.scss, but when I run npm run watch I get the following errors: Solution:- The main issue which we have found … Read more

‘cross-env’ is not recognized as an internal or external command, operable program or batch file.

Hey if you are getting some error like (‘cross-env’ is not recognized as an internal or external command, operable program or batch file.) in your Node please follow the steps which i have mentioned in following:- You need to make cross-env working globally instead of having it in the project. Step 1:- remove node_modules folder Step 2:- … Read more

How is Node.js created with JavaScript?

Creating Nodes createElement(element_name) createTextNode(string) createComment(string) createDocumentFragment( ) Create Element Node The createElement(element_name) method is used to create the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn’t recognized. It returns the New Element. Syntax:-createElement(element_name) Create Text Node The createTextNode(string) method is used to create the Text Node with the specified text (string). Syntax:-createTextNode(string) … Read more

How To Traverse The DOM In JavaScript?

DOM Traversal parentNode – Returns parent node parentElement – Returns parent element node childNodes – Returns collection of an element’s child nodes (including text and comment nodes) children – Returns a collection of an element’s child element node (do not include text and comment nodes) firstChild – Returns first child node of an element (it … Read more

How to Use CSS Selector in javascript?

querySelector(“CSS Selector”) The method querySelector() returns the first Element match of the specified selector or group of selectors. If no matches are found, null is returned. querySelectorAll(“CSS Selector”) The method querySelectorAll() returns a static (not live) NodeList representing a list of the document’s elements that match the specified group of selectors. The NodeList object represents … Read more

What is the Purpose of the Node Object Property in JavaScript

Properties of Node Object The Node object represents a single node in the document tree. nodeName nodeValue nodeType textContent parentNode childNodes firstChild lastChild previousSibling nextSibling nodeName The nodeName read-only property returns the name of the current node as a string. CDATASection “#cdata-section” Comment “#comment” Document “#document” DocumentFragment “#document-fragment” DocumentType The value of DocumentType.name Element The … Read more

How to Access an Element in HTML DOM using JavaScript?

Element Access Methods Method Description document.getElementById(“ID”) Get the element with the specified ID document.getElementsByTagName(“Tag_Name”); Get all the specified element by the Tag Name document.getElementsByClassName(“Class_Name”); Get all the specified element by the Class Name document.querySelector(“CSS_Selector”); It returns the first match of the passed selector string document.querySelectorAll(“CSS_Selector”); It returns a node list of DOM elements that match … Read more

What is the use of the document object model in JavaScript?

Document Object Model The Document Object Model (DOM) is an Application Programming Interface (API) for HTML and XML documents. With the Document Object Model, programmers can create and build documents, navigate their structure, and add, modify, or delete elements and content. The DOM is an object-oriented representation of the web page, which can be modified … Read more

Bootstrap a Microsoft Windows node using Chef

bootstrap-a-microsoft-windows-node-using-chef

Bootstrap a Microsoft Windows node, the “knife windows” plugin is required,  More info about knife window tool, http://docs.chef.io/plugin_knife_windows.html knife bootstrap windows winrm uvo1eak9a5geec05f7z.vm.cld.sr –winrm-user administrator –winrm-password ‘Rx4m7W4PQu’ –node-name firefox_win –run-list ‘recipe[snc_firefox]’ nife bootstrap windows winrm uvo1eak9a5geec05f7z.vm.cld.sr -x administrator -P Rx4m7W4PQu