Comment on Is there someone who can help me with an html/java related issue?

hi_its_me@lemmy.world ⁨1⁩ ⁨year⁩ ago

From our friend ChatGPT:

Certainly! You’re on the right track with your idea of selecting a style first and then selecting a random question based on that style.

Here’s how you can structure this on Perchance:

  1. Define the question styles and tips:
style
Decriver ou expliquer au present
Raconter au passé
[... more styles ...]

tipsForStyle
[style:Decriver ou expliquer au present] 
Tip for this style: [Tip for Decriver ou expliquer au present]
[style:Raconter au passé]
Tip for this style: [Tip for Raconter au passé]
[... more tips for each style ...]
  1. Define questions for each style:
questionsForStyle
[style:Decriver ou expliquer au present]
Où travaillez-vous?
Où vous situez-vous au travail?
[... more questions for this style ...]

[style:Raconter au passé]
Comment votre travaille a affecté par la pandemie ?
Durant votre carrière, qu’est-ce qui a été le plus satisfaisant jusqu’ici?
[... more questions for this style ...]
  1. Structure the main generator output:
output
<h1>[title]</h1>
<h2>[title2]</h2>
<h3>[title3]</h3>

<h4>[title4]</h4>


[style]


[questionsForStyle]


[tipsForStyle]
  1. Use this in the HTML area:
<div>
    **[output]**
</div>

With this structure:

  1. A style will be chosen randomly.
  2. A question will be chosen from that style.
  3. The tip for the selected style will be shown below the question.

You can further modify and expand upon this structure to customize the output to your liking!

source
Sort:hotnewtop