diff --git a/web/chargen.js b/web/chargen.js
index c80aed6..3233d50 100644
--- a/web/chargen.js
+++ b/web/chargen.js
@@ -18,6 +18,23 @@ document.getElementById('characterForm').addEventListener('submit', function(eve
var resultSection = document.getElementById('resultSection');
resultSection.innerHTML = '';
+ // After existing code, add below lines for the profile rendering
+ if(data.profile){
+ resultSection.innerHTML += `Profile:
`;
+ var profile = data.profile;
+ resultSection.innerHTML += ` - Name: ${profile.name}
`;
+ resultSection.innerHTML += ` - Sex: ${profile.sex}
`;
+ resultSection.innerHTML += ` - Age: ${profile.age}
`;
+
+ // Check if character type is human
+ if(charType === 'human' && profile.hair && profile.eyes && profile.skintone) {
+ resultSection.innerHTML += ` - Hair: ${profile.hair}
`;
+ resultSection.innerHTML += ` - Eyes: ${profile.eyes}
`;
+ resultSection.innerHTML += ` - Skin Tone: ${profile.skintone}
`;
+ }
+ resultSection.innerHTML += "
";
+ }
+
// Display animal-stock if it exists
if(data['animal-stock']){
resultSection.innerHTML += `Animal Stock:
`;