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
if (!Element.prototype.toggleAttribute) { | |
Element.prototype.toggleAttribute = function(name, force) { | |
if(force !== void 0) force = !!force | |
if (this.hasAttribute(name)) { | |
if (force) return true; | |
this.removeAttribute(name); | |
return false; | |
} |
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 lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Daily Dev Tips Boilerplate</title> | |
<meta name="description" content="Basic HTML boilerplate"> | |
<meta name="author" content="Daily Dev Tips"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/style.css"> |
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
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>No-div playground</title> | |
<meta name="description" content="A cool no-div playground" /> | |
<meta name="author" content="Daily Dev Tips" /> | |
<link rel="icon" href="/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<style> | |
.container { |
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
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>No-div playground</title> | |
<meta name="description" content="A cool no-div playground" /> | |
<meta name="author" content="Daily Dev Tips" /> | |
<link rel="icon" href="/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<style> | |
.container { |
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
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>No-div playground</title> | |
<meta name="description" content="A cool no-div playground" /> | |
<meta name="author" content="Daily Dev Tips" /> | |
<link rel="icon" href="/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<style> | |
.container { |
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
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>No-div playground</title> | |
<meta name="description" content="A cool no-div playground" /> | |
<meta name="author" content="Daily Dev Tips" /> | |
<link rel="icon" href="/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<style> | |
.container { |
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 { ChangeDetectionStrategy, Component, ViewChild } from "@angular/core"; | |
import { ChartService } from "src/app/services/chart.service"; | |
import { Chart } from "chart.js"; | |
@Component({ | |
selector: "app-level-chart", | |
changeDetection: ChangeDetectionStrategy.OnPush, | |
templateUrl: "./level-chart.component.html", | |
}) | |
export class LevelChartComponent { |
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> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Video Call</title> | |
<script | |
src="https://kit.fontawesome.com/c8500fcdd6.js" | |
crossorigin="anonymous" | |
></script> |
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
* { | |
margin: 0; | |
padding: 0; | |
font-family: Roboto, "Helvetica Neue", Arial, sans-serif; | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
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
body { | |
display: -ms-grid; | |
display: grid; | |
place-items: center; | |
min-height: 100vh; | |
width: 100%; | |
background: #f15bb51f; | |
} |
OlderNewer