Posts

React native tutorial Basic to Advance

 React native tutorial Basic to Advance  Building mobile apps has never been easier, and with Expo , Tailwind CSS , and Expo Router , you can quickly build and style your app while taking advantage of powerful navigation features. In this guide, we'll walk through how to set up a basic React Native app with Expo, style it using Tailwind CSS, and set up dynamic routes using Expo Router . Along the way, we’ll cover how to add custom icons, environment variables, platform-specific behavior, and much more. 1. Setting Up Your Development Environment Before diving into coding, we need to set up your development environment. What is Expo? Expo is a framework and platform for building universal React applications. It streamlines the development process, making it easy to test and deploy apps without worrying about setting up native build tools. Perfect for beginners and rapid development! Install Node.js Ensure that Node.js is installed on your machine. You can download it f...

Crud operation : filter, delete, and update element in Array

Crud operation : filter, delete, and update element in Array  The code you provided seems to define an array of products and a few operations to filter, delete, and update them. However, there are a couple of things to address: updateproducts function: The updateproducts function currently has a small issue. You are trying to return false for the products that do not match the specified name , which can result in an array of false values for the non-matching items. Instead, you should return the non-matching items unchanged. Otherwise, you would be removing them from the result. You should return the original product when it doesn't match the name . deleteproducts function: splice mutates the original array, removing elements in place, so this will change the products array directly. This can lead to unexpected behavior if you're trying to maintain the original array in subsequent operations. If you want to avoid modifying the original array, you could create ...

JavaScript Tutorial: From Basic to Advanced

JavaScript Tutorial: From Basic to Advanced 1. Basic Concepts Declaring Variables: In JavaScript, we declare variables using var , let , or const . let and const are the modern way to declare variables. let name = ""; // Declaring a string variable. const pi = 3.14; // Declaring a constant. Data Types: JavaScript has several data types, including: Primitive types : String , Number , Boolean , Null , Undefined , Symbol . Object types : Object , Array , Function . let name = "Krish"; // String type let age = 25; // Number type let isStudent = true; // Boolean type Basic Output: We can output data to the console using console.log() : console.log(name); // Output the value of the variable "name" 2. Data Type Conversion parseInt() and parseFloat(): These functions are used to convert strings to numbers. console.log(parseInt("3")); // Converts string "3" to number 3. console.log(parseFloat("3.14")); // Converts...

create ai bot for your website

website: https://app.botpress.cloud/workspaces/wkspace_01J9GW467E8MH8T3YE909WDX9K/home If you're using Botpress and want to integrate it into your webpage, the structure you've set up is almost there. Here’s a brief overview of how to ensure your Botpress chatbot works well within your HTML page, along with a few additional tips for customization: ### Basic Integration of Botpress The Botpress web chat integration you provided is already correct. Here’s a recap of how to embed it: 1. **Embed the Chatbot**: Ensure the iframe source points to your Botpress bot correctly. You already have this part set up. 2. **Adjust Styles for Better Usability**: Make sure the chatbot iframe is styled for a good user experience, as in the previous example. ### Example Code with Botpress Here's the complete HTML code with a Botpress chatbot in the bottom right corner: ```html <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     ...

Pricing Card design using html css

Image
<! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title > Pricing Plans </ title >     < link rel = "stylesheet" href = "style.css" > </ head > < body >     < div class = "navbar" >         < div class = "logo" >             < h1 > Tech krish </ h1 >         </ div >         < div class = "navbar_items" >             < ul >                 < li > Home </ li >                 < li > About </ li >                 < li > Services </ li >   ...

Best Ai Tools with website links

  • Ai Tools & website Link ⬇️ 1.Decohere.ai: https://www.decohere.ai/ 2.Canva Pro: https://bingotingo.com/ 3.new.downloader.la: https://new.downloader.la/ 4.imagetoprompt: https://imagetoprompt.com/ 5.uBlock Origin: https://g.co/kgs/Gz6inL2 6.Virustotal: https://www.virustotal.com/gui/home/u... 7.Seo search keyword tool: https://g.co/kgs/WgEaUY2 8.Kiwi brouser: https://play.google.com/store/apps/de... 9.Chromepass nirsoft: https://www.nirsoft.net/utils/chromep...

10 best css button design

Image
Your code creates a simple webpage with 10 buttons that have unique CSS designs. Below is a brief explanation of the key elements in your design: Structure: HTML Structure : The page has a div with the class button_container , which contains an <h1> title and a series of 10 buttons, each represented by an anchor ( <a> ) tag. Each button has a distinct class ( btn-1 , btn-2 , ..., btn-10 ) to apply different CSS styles to each one. CSS Styling: General Styles : You apply a universal box-sizing model ( box-sizing: border-box ) and reset margin and padding to ensure a clean layout. A custom font ( font1 ) is applied to the body using a font-face declaration for a specific typeface (assuming the "Rejouice-Headline.ttf" file is available). The body has a dark background color ( rgb(4, 4, 58) ), and the buttons are designed to stand out with various colors, borders, and hover effects. Button Styles : btn-1 : A solid blue background that darkens o...