C
C#yatta

Frontend not working

I dont really keen on frontend but I think have some knowledge about it would be nice, I'm learning how to use react typescript with tailwinds, and my app is not works as it should be, may I ask for some suggestion where should I check in my code to know the problem ?
No description
No description
Y
yatta40d ago
The right picture is how the webpage suppose to look, the left one is how it looks like for now
A
Angius40d ago
It seems like your CSS is not loading So... open the devtools and see if it is returning a 404 or what's going on
Y
yatta40d ago
devtools is f12 on the webpage I assume ?
A
Angius40d ago
ye Then the network panel Then F5 to refresh the page And see if the stylesheet request works or returns a 404 or some other error
Y
yatta40d ago
all of them return 200 the stylesheet, i mean
A
Angius40d ago
And do they contain what you'd expect them to contain? Click the request and see the response details
Y
yatta40d ago
this is the responses from them
No description
No description
Y
yatta40d ago
should it response with css code ?
A
Angius40d ago
Considering it's a CSS stylesheet... yes, it should respond with CSS code And, it seems, it does Is it the code that you wrote to make the site look like the image on the right? Or are there discrepancies? Maybe it's an older version of what you currently have?
Y
yatta40d ago
this is the code I put in the index.css
No description
A
Angius40d ago
Ah, you're using Tailwind Did you, uh, compile it? Or whatever it is that you do with Tailwind?
Y
yatta40d ago
ye, i mentioned it above :Arrestbi:
A
Angius40d ago
Right
Y
yatta40d ago
compile ?
A
Angius40d ago
Idk how Tailwind works lol Never used it You might have more luck asking in webdev-specific servers tbh, maybe in #web
Y
yatta40d ago
i see, lemme check :Arrestbi: aight, I actually have solved it, all it need was update the react version :Pikachu:
Want results from more Discord servers?
Add your server
More Posts
JsonSerializerOptionsTo be continuedC# Dictionary questionHi, if i have a dictionary in C# defined like so: `Dictionary<string, List<int>> test;` and I do `Li✅ Avalonia not showing rows in datagridThere are no rows in my datagrid in Avalonia, the headers are visible. I've checked if my list is emInfinite loop```c# /// ------------------------------------------------------------ /// <summary> /// Creates a sHow to connect my c# backend with the frontend?Hello, I created a ASP NET Core Web Api project with the command dotnet new webapi -minimal. In my ✅ Using `Func<ReadOnlySpan<char>,bool>` but not allowed due to Pointer TypeI am building a parser, and performance is of concern. So instead of allocating infinite strings wheconcurrency and atomicity Asp.net core web api and efcorelet's say there's an endpoint called AssingUser() ,this endpoint assigns one donation to this currenBuilding a generic repository for mongodbhello folks I was thinking build a generic repository structure for mongodb. but someday if i want Reading large xml file from archive by using XmlReader in Parallel modeHello 👋. I am looking for how can I read data from archive xml file in Parallel mode. I have archiResizing the Console window - Console ApplicationHi there, I'm trying to resize the console window in a Console Application. I have tried multiple ✅ Creating a datetime with a timezoneHow do I create a `DateTime` with `new DateTime(2010, 05, 12);` and give it a specific `TimeZoneInfoCustom Newtonsoft JSON deserializationI have a dictionary where: - The key will always be a string - The value will be either: - string Issue with Form.Close() in WinformsI have a custom form called CustomMessageBox In that form, I have a method that defines a button clIssue with IMGUI.Net.Hello, I am creating an ImGUI application and It doesn't let me move the ui across my entire screen,Issue with deserializing Enums in saved JSONHey, I've been trying to deserialize a list of cards I serialized in C#, the issue I'm having is it From HttpClient, can I save/copy the request to share with someone?Is there a way to copy raw request details? For example, I'm looking for a similar output like: -3D Unity RaycastingHi guys, currently working on a puzzle game involving lasers and mirrors, however, have hit a brick Computer Science - Computer ArchitectureOn a 64 bit system (where the bus length and word size are 64 bits) how would we determine the ammouConnecting SQLite in MAUIHow to connect the database without absolute path? If with it, the program works only on the computeDifferent HttpClient headersWhen I make an HTTP request in my browser (Chrome), I get different response headers than I do in my