Skip to main content

Posts

Showing posts from August, 2023

Print the following series using for loop:- 1,8,27,64,125,216,......n JS

Copy to Clipboard console.log("Print the following series using for loop:- 1,8,27,64,125,216,......n"); let n ; function cubeseriesloop(n){ for(let i=0; i =0){ console.log(cubei); }else{ break; } } } console.log(cubeseriesloop(9));

Screen Recorder Tool

Screen Recorder Tool Start Recording Stop Recording This the demo of the source code click above buttons to recording the screens, enjoy and download it   Creating a complete responsive screen recorder tool using the RecordRTC library involves multiple steps, including HTML, CSS, and JavaScript. Below is a simplified example to give you an idea of how you can implement this. Please note that this example might not cover all possible edge cases, and you might need to adapt and extend it for your specific needs.  First, make sure you include the RecordRTC library in your HTML. You can include it using a script tag in the <head> section of your HTML document: If you want the source code for it see the below video:

Top 10 fresher level It projects to get the Job

  Certainly! Here are some freshers-level project topics for IT jobs that you can consider: Top 10 Projects for Fresher    💢 Personal Portfolio Website: Create a personal portfolio website showcasing your skills, projects, and achievements. Use HTML, CSS, and JavaScript to build an interactive and visually appealing site.   💢 ToDo List Application: Develop a simple ToDo list application that allows users to add, edit, and delete tasks. Use technologies like React, Angular, or Vue.js for the frontend and a backend framework like Node.js or Django. 💢  Weather App: Build a weather application that fetches data from a weather API and displays the current weather conditions and forecast for a given location. Use HTML, CSS, and JavaScript, and consider integrating APIs like OpenWeatherMap.   💢  E-commerce Website: Design a basic e-commerce website with features like product listing, searching, filtering, and a shopping cart. Implement the backend us...

How to code for undefined in on balance volume

 To code for "undefined" in On-Balance Volume (OBV), you'll need to handle situations where the calculation does not produce a valid result. The On-Balance Volume is a cumulative indicator that depends on previous data points, and it may not be well-defined for the first few data points. Here's an example of how you can handle the "undefined" situation in the On-Balance Volume calculation using Python: HTML def calculate_obv(data): obv_values = [0] # Initialize the OBV list with the first value as 0 (or any other starting value) for i in range(1, len(data)): prev_obv = obv_values[-1] # Get the previous OBV value if data[i] > data[i - 1]: # If the current closing price is higher than the previous one obv_values.append(prev_obv + volume[i]) # Add the volume to the previous OBV elif data[i] < data[i - 1]: # If the current closing price is low...