A generic quiz application?

I have been tasked to get the az-900 certification.

AZ-900, also known as the Microsoft Azure Fundamentals certification, is an entry-level credential that validates foundational knowledge of cloud services and how those services are provided with Microsoft Azure. This certification is important because it helps individuals understand basic cloud concepts, Azure services, pricing, and support options, enabling them to make informed decisions about cloud solutions. It serves as an excellent starting point for professionals looking to advance their careers in cloud computing and is beneficial for roles such as IT professionals, sales individuals, and decision-makers who need a foundational understanding of Azure.

After studying for it and doing some mockup test training I feel the need to something to keep my memory fresh until I am granted with the voucher for the exam

I want something quick and working.

Let’s try out Perplexity labs:

Below the final result from the portal

it seems ok but let’s have a look to the application itself: go to asset menu and download the zip file

style has the graphical layout, index is the starting point, app has all the logic and az90… file has all the questions

It is normally a great idea to keep all of the data in another file, distinguished by the code.

BP

let’s have a look to the questions, open the json file with visualcode

WTF???

Most of the questions are mocked most of the links to MS documentation lead to a frustrating 404…. ok this is not going to work

let’s fix it

I tried regenerating the app but something is always inaccurate: often the overall is fine but some features are wrongly implemented

Ok, I guess I need to use something more specific for coding: starting from an app version where the questions are pretty accurate but the app.js is lacking some implementation I decide to fix app.js and make the app work

I open the vscode editor and load the folder where the application is located

app.js is the file where all the logic is present: let’s use cline extension to fix it using vibe code

cline extension for VS code

there are several tools for vibecoding, for this attempt I will use cline, as iit works on vscode and allows me to use the model I want, showing how much am I paying for the generation

whenever in cline you want to act on a specific file just hit the @ char and load the file

then prompt what exactly do you want:

keep the prompt more detailed as possible, for this first case this was pretty simple

the fix costed about 0.80 $

I guess I saved money?

I can of course start directly from the editor and vibecode any single line. I anyway gues this would cost me more than fixing a starting faulty app

Now I cannot publish it on the same place where Perplexity publish it, let’s find another solution

to be continued

Leave a comment