0
How can I put a button in a navbar after a session?
https://code.sololearn.com/wbx5oLeUDWw1/?ref=app What i'm trying to do here is to verify if the user has a session and making appear a logout button in my navbar. The error is in line 70 and forward. There's a syntax error in line 73. I'm thinking the error is nav-item. Since I'm putting in the navbar shouldn't be a nav-item? I'm really confused.
3 Respostas
+ 4
For instance, double quotes can't be directly included in a double quote string; this would cause it to end prematurely.
https://code.sololearn.com/w59UEVP3ppbw/?ref=app
+ 2
double quote in li class in line 81, close the actual string. use single quote or escape it
<li class='nav-item'>
<li class=\"nav-item\">
0
Thank you two a lot. I was really confused.