skip to Main Content

Code in script tag of HTML within a flask app throwing small annoying errors

Home.html file: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Home</title> <link rel="stylesheet" type="text/css" href="{{url_for("static",filename="css/css.css")}}"> </head> <body> <h1>Welcome to recipe book</h1> <p>{{length}}</p> <script> const amount = "{{length}}"; let list = {{images | tojson}}; const base_URL = "{{ url_for('static',filename='images') }}"; const altText =…

VIEW QUESTION

Html – How to customize the color of mat checkbox in mat select options

How to customize the color of mat checkboxes in mat select options as seen below <mat-form-field appearance="fill" style="width:49%"> <mat-label>Select Group</mat-label> <mat-select [(ngModel)]="groupNames" name="group" multiple> <mat-option *ngFor="let group of GroupList" [value]="groupName"> {{groupName}} </mat-option> </mat-select> </mat-form-field> I tried inspecting the elements and…

VIEW QUESTION
Back To Top
Search