function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Loren BergstromLoren Bergstrom 

Stuck on Creating Custom Object: Visualforce Markup

Instrustions from Trailhead:
User-added image

Here is what I did (I used copy/paste for each line, so I know that it is identical to the example):
User-added image

When I try to save, I am give this messege:
User-added image

Ok, the example on Trailhead didn't tell me to do this, but I make the chage as requested:
User-added image

Now I recieve two new errors when trying to save:
User-added image

Clearly, my line 4 ends in </p> as it should, so the errors do not make sense.
This part of Trailhead appears to be broken and is holding back my progess (15 minute module? Ha, try an hour of banging your head against a wall, giving up for a month and a half and then returning with fresh eyes and fresh resolve only to beat your head against the same wall for another hour).

Any help would be greatly appriciated!

 

ajay rawat 14ajay rawat 14
Hi
    It must be wrapped inside <apex:page>.
<apex:page>
// Your apex tag or html or Script
</apex:page>
ShivaKrishna(Freelancer)ShivaKrishna(Freelancer)
Hi there !!!

Though VF page inturn gets converted into HTML tag, it expects complete code inside the parent tag <apex:page> and </apex:page>. Make sure you are closing all the components appropriate. From the image you have shared, I suspect </apex:page> is missed please verify it and correct.

Let me know if this helps you :)
nagasfdc1@gmail.com
varatharaj balaramanvaratharaj balaraman
only visual page opening <apex:page> tag is there in ur code .Include the closing Tag 
</apex:page> at the end of ur code.It will work fine
 
Loren BergstromLoren Bergstrom
Thanks you so much, that did it.