Skip to content

Instantly share code, notes, and snippets.

View krishnadevz's full-sized avatar
⚙️
Learning & Building Stuff🧱🛠

Krishna Kakade krishnadevz

⚙️
Learning & Building Stuff🧱🛠
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./ind.css">
<title>Koala</title>
<style>
body{
background: rgb(197, 231, 197);

Keybase proof

I hereby claim:

  • I am krishnadevz on github.
  • I am krishnakakade (https://keybase.io/krishnakakade) on keybase.
  • I have a public key ASAtKsT2xzMrNqdZHCJuH_b3WaPNL87mYqH2grVyu7ekJAo

To claim this, I am signing this object:

@krishnadevz
krishnadevz / useEffecthook.jsx
Created March 17, 2020 07:56
useEffect hook in functional component reactjs
import React, {useState,useEffect} from "react"
import randomcolor from "randomcolor"
function App() {
const [count, setCount] = useState(0)
const [color, setColor]=useState(randomcolor())
function increment() {
setCount(prevCount => prevCount + 1)
}
@krishnadevz
krishnadevz / UseStatehookforchangingstates.jsx
Created March 17, 2020 07:26
UseState hook for changing states
import React, {useState} from "react"
// Convert the class below to a functional component that uses the useState hook to initalize a count vartiable to 0 and display the count on the screen.
// Don't worry about the part where the button changes the count quite yet, that's what you're here to learn about!
function App() {
const [count, setCount] = useState(0)
const [answer, setAnswer] = useState("Yes")
function increment() {
@krishnadevz
krishnadevz / UseStatehook.jsx
Last active March 17, 2020 05:22
useState hook in functional component
import react,{useStae} from "react"
function App(){
const [answer]=useState("yes lovely")
return(
<div>
<h1>Are you coming{answer}</h1>
</div>
@krishnadevz
krishnadevz / fcc-personal-portfolio.markdown
Created August 11, 2019 11:26
FCC: Personal Portfolio
@krishnadevz
krishnadevz / .XML
Created September 17, 2018 13:56
relative layout code in android XML
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"