mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix: run prettier on all file to avoid prettier issue inside PR
This commit is contained in:
@@ -3,7 +3,8 @@ import { Component } from '@angular/core';
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: 'app-root',
|
||||
template: ` <label for="agree">Agreed</label>
|
||||
template: `
|
||||
<label for="agree">Agreed</label>
|
||||
<input
|
||||
class="ml-2"
|
||||
id="agree"
|
||||
@@ -11,12 +12,13 @@ import { Component } from '@angular/core';
|
||||
[value]="check"
|
||||
(input)="toggleCheck()" />
|
||||
<button
|
||||
class="border p-2 rounded-lg ml-10"
|
||||
class="ml-10 rounded-lg border p-2"
|
||||
[class.bg-gray-500]="!check"
|
||||
[class.text-white]="!check"
|
||||
[disabled]="!check">
|
||||
Submit
|
||||
</button>`,
|
||||
</button>
|
||||
`,
|
||||
})
|
||||
export class AppComponent {
|
||||
check = false;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
Reference in New Issue
Block a user