Skip to content

Commit

Permalink
Fix: Updated frontend UI (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Mar 12, 2024
1 parent 34d6978 commit 1cde52e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions MovieVerse-Frontend/html/profile.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,20 @@
<h2><%= user.name %></h2>
<p>Email: <%= user.email %></p>
<p>Location: <%= user.location %></p>
<p>Member since: <%= user.createdAt %></p>
<p>Favorite Movies:</p>
<ul>
<% user.favoriteMovies.forEach(movie => { %>
<li><%= movie.title %></li>
<% }) %>
</ul>
<p>Favorite Genres:</p>
<ul>
<% user.favoriteGenres.forEach(genre => { %>
<li><%= genre %></li>
<% }) %>
</ul>
</div>
<% } else { %>
<p>User not found.</p>
Expand Down

0 comments on commit 1cde52e

Please sign in to comment.