scrimba
Code Reviews
Code Review: Christoph's Solo Project - Firebase We are the Champions
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Code Review: Christoph's Solo Project - Firebase We are the Champions
AboutCommentsNotes
Code Review: Christoph's Solo Project - Firebase We are the Champions
Expand for more info
notes.md
run
preview
console
index.html
- formatting looks great!
- remove unnecessary html:
<!-- <p class="toParagraph">To Leanne</p>
<p class="endorsementParagraph">Leanne! Thank you so much for helping me with the March accounting. Saved so much time because of you! 💜 Frode</p>
<div class="fromLikesContainer">
<p class="fromParagraph">From Frode</p>
<a href="#">
<p class="LikesParagraph">❤️ 4</p> -->
<!-- </a> -->
<!-- </div> -->

- use destructuring:
const {to, endorsement, from, id, liked, likes, comment} = endorsements

from is an identifier in javascript:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#keywords
A few identifiers have a special meaning in some contexts without being reserved words of any kind.

- duplicate files in asset folder

Stretch goals:
- disable publish so it can't be used until all input fields are used
- enable publish button after all input fields are filled


Console
/index.html
-9:17