Share your repls and programming experiences

← Back to all posts
The Hollow - Season 2 - Part 1
VulcanWM (1709)

After not getting any ideas, I thought that I'll convert my Python work into HTML and JS. You do start in a room in this part but it is kind of different.

Commentshotnewtop
[deleted]

GG i lost...
but where you learned the javascript tho?

VulcanWM (1709)

just some random websites @Zuhdi28

[deleted]

@medcho lol :D

HahaYes (903)

t h i s f e e l s l i k e a c y c l e f a r m - t h e c y c l e f a r m p o l i c e -Hahayes

NoelB33 (278)

You don’t need a separate HTML file for everything

DJWang (1124)

Now how would that snake get up there...?

VulcanWM (1709)

I don't know, maybe they were hiding in the roof? @DJWang

XanderEhlert (131)

i s t h i s a c y c l e f a r m i n g p o s t i s e e ?

VulcanWM (1709)

No, this is only my second post which includes JS, so I don't know that much @XanderEhlert

XanderEhlert (131)

@medcho but its an exact copy (but shorter) of your original one

XanderEhlert (131)

@medcho fine its very very similar

the only thing thats different is that you have more objects to choose from, and a slightly different storyline.

VulcanWM (1709)

Have you watched The Hollow. Every team starts in a room. @XanderEhlert

VulcanWM (1709)

There you go. It is a rule, if I start a season it should be in a room, or it isn't like the series and I am trying to make it like a series @XanderEhlert

XanderEhlert (131)

@medcho ok. i didnt know it was an actual series. i thought you just made the storyline up

[deleted]

Zuhdi's just a tip moment lol
Just a tip:
You gotta do the part 2 with this:

<form name="answers">
<input type="text" placeholder="Enter your age:" name="age">
</form>

Copy this to your html file and then write this in the js file:

if(answers.age.value === "11"){
  alert("You are the same as my age!")
}else{
  alert("Ummmmmm, bye!")
}

only smoe values here XD
Anyway, we worked with the INPUTS in html with some code in javascript!
we made some form element and we name it answers.
and in the form element we put the input element ans we name it age.
now when we go to the js file, you gotta write this: answers.age.value
So that displays the input value cuz the input element it is in answers and his name is age so answers.age.value displays the value!
Moment has been gone XD

VulcanWM (1709)

Thanks, exactly what I was trying to do, but I couldn't @Zuhdi28

[deleted]

@medcho invite me XD

VulcanWM (1709)

It is not working. I invited you. @Zuhdi28

syflexer (467)

it wont let me passed level 1

syflexer (467)

@syflexer i beat it and it went to the green screen but it didn't go any farther

VulcanWM (1709)

That is only up till where I have programmed the game @syflexer

syflexer (467)

@medcho k i will check them out later

johnstev111 (229)

Season 2? Have I missed Season 1?