Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Post History
Update: This has been completed and looks like this: I'd suggest the following solution: If a question has answers (answered), we apply the classes h-bg-green-700 h-p-h-1 h-c-white to .answe...
Answer
#2: Post edited
- I'd suggest the following solution:
- * If a question has answers (answered), we apply the classes `h-bg-green-700 h-p-h-1 h-c-white` to `.answer-count` (causes a green box):
- * If it is unanswered, we apply the classes `h-c-red-800` (causes a red font color).
- It looks like this:
- ![Screenshot of the suggested changes](https://meta.codidact.com/uploads/2LixMLTzQw1ZtopxUiGLY6Vw)
- We can also reverse this:
- * If a question has answers (answered), we apply the classes `h-c-green-700` to `.answer-count` (causes a green font color):
- * If it is unanswered, we apply the classes `h-bg-red-800 h-p-h-1 h-c-white` (causes a red box).
- ![Screenshot of the reversed suggested changes](https://meta.codidact.com/uploads/psdATTTEUBATMYMb3o3dzh7e)
- **Update:** This has been completed and looks like this:
- ![screenshot of fix](https://meta.codidact.com/uploads/bxbDu3V4VX8xQNBNDJ6E7cgw)
- ---
- I'd suggest the following solution:
- * If a question has answers (answered), we apply the classes `h-bg-green-700 h-p-h-1 h-c-white` to `.answer-count` (causes a green box):
- * If it is unanswered, we apply the classes `h-c-red-800` (causes a red font color).
- It looks like this:
- ![Screenshot of the suggested changes](https://meta.codidact.com/uploads/2LixMLTzQw1ZtopxUiGLY6Vw)
- We can also reverse this:
- * If a question has answers (answered), we apply the classes `h-c-green-700` to `.answer-count` (causes a green font color):
- * If it is unanswered, we apply the classes `h-bg-red-800 h-p-h-1 h-c-white` (causes a red box).
- ![Screenshot of the reversed suggested changes](https://meta.codidact.com/uploads/psdATTTEUBATMYMb3o3dzh7e)
#1: Initial revision
I'd suggest the following solution: * If a question has answers (answered), we apply the classes `h-bg-green-700 h-p-h-1 h-c-white` to `.answer-count` (causes a green box): * If it is unanswered, we apply the classes `h-c-red-800` (causes a red font color). It looks like this: ![Screenshot of the suggested changes](https://meta.codidact.com/uploads/2LixMLTzQw1ZtopxUiGLY6Vw) We can also reverse this: * If a question has answers (answered), we apply the classes `h-c-green-700` to `.answer-count` (causes a green font color): * If it is unanswered, we apply the classes `h-bg-red-800 h-p-h-1 h-c-white` (causes a red box). ![Screenshot of the reversed suggested changes](https://meta.codidact.com/uploads/psdATTTEUBATMYMb3o3dzh7e)