This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var btn = $('#submit'); | |
var user = "khalid"; | |
var pass = "1998"; | |
var posts = null; | |
btn.click(function(event){ | |
event.preventDefault(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this file is for jQuery and Ajax Request. | |
var btn = $('#submit'); | |
btn.click(function(event){ | |
event.preventDefault(); | |
$.ajax({ | |
url: 'https://jsonplaceholder.typicode.com/posts', | |
method: 'GET', | |
data: {}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html class="h-100" lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>CodeLabUot</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body class="h-100"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from "@angular/core"; | |
@Injectable({ | |
providedIn: "root" | |
}) | |
export class SessionManagerService { | |
constructor() {} | |
set(key: string, value: any): SessionManagerService { | |
if (value instanceof Object) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"built": "Discover Droplet - where cutting-edge Kotlin meets Jetpack Compose, Retrofit, Firebase, and Shared Preferences. Our app redefines user experiences, seamlessly blending technology and innovation. Dive into a world of fluidity, efficiency, and interconnectedness as we shape the future of mobile applications." | |
} |