Next.js Discord

Discord Forum

NextJS Runs in Incognito browser, but not normal mode.

Answered
Cornish Rex posted this in #help-forum
Open in Discord
Original message was deleted.
Answered by Tamaskan Dog
that means you did content=true, instead of content="true"
View full answer

16 Replies

Cornish Rex
Forgot to add, the HTML runs fine when I open it with chrome, and ive moved all of the required assets to the public folder of my project.
Tamaskan Dog
Are there any errors in the console sir
@Tamaskan Dog Are there any errors in the console sir
Cornish Rex
Yes sir.
Tamaskan Dog
that means you did content=true, instead of content="true"
Answer
@Tamaskan Dog that means you did content=true, instead of content="true"
Cornish Rex
How do you mean?
Tamaskan Dog
it means you using a Boolean datatype instead of a string datatype.
Cornish Rex
what is a Boolean datatype?
Tamaskan Dog
true or false
Cornish Rex
but that is technically, true or false.
Tamaskan Dog
bool, is more of a group label for true or false
Cornish Rex
but isn't it also a group label for "true" and "false"?
Tamaskan Dog
no, beacause they are strings
Cornish Rex
but you said earlier
a boolean is a value which is true or false
technically
strings are still booleans