Skip to content

Commit

Permalink
Fix: Add missing quotes to alt attribute in teacher image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
judemont committed May 20, 2024
1 parent 7e8c2a4 commit b3df15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/loadTeachers.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function addTeachers(teachers) {
class="standard-card-image"
src="${teacher.image_url}"
onerror="this.onerror=null; this.src='images/default.png'"
alt=${mdrr[Math.floor(Math.random() * mdrr.length)]}
alt="${mdrr[Math.floor(Math.random() * mdrr.length)]}"
/>
<div class="standard-card-top-right">
<h1 class="standard-card-name">${teacher.name}</h1>
Expand Down

0 comments on commit b3df15e

Please sign in to comment.