What kind of page are you trying to write? Blog? Single Page App? Landing page?
If you're already trying to tackle QML, you might as well learn Slint. It's much easier IMO and can be compiled from Rust or C++. They even have a live editor. Check out their demos.
Make keep an eye out for MakePad. They're not yet ready for public use I think, but their demo is incredible, IMO.