freeCodeCamp Assignment #2 – Survey Form

As you know, I am doing the freeCodeCamp online coding curriculum. My efforts so far are humble. I am proud of myself for getting this far. I just finished an HTML/CSS form and it’s on my Codepen page. If you like it, you can use it. I think that Codepen is all Open Source, but if you want me to share it with you, just ask.

Yoga Survey Form

I took longer than intended on this task, but I know why. There were 17 things to do, and the first time around, I did most of them before running the code test script. I got a repeated error in number 13, and could not fix it for love or money. In the end, I started again. Not from scratch, but doing each job one by one, running the test, and evaluating the results.

Lo and behold, with practically the same code, I got through all the code. What had gone wrong? Well, I was trying to make the formatting nice and pretty, and put an “unordered list” (<ul>) inside the form. Evidently, this confused the script. The HTML was right, but wrong for this particular challenge.

Conclusions: 1) Test your code early on, while it’s still short and sweet and 2) Be patient and persistent. If I had thrown my hands up in frustration, I would not be nearing the end of this part of the course!

Tomorrow, I shall tackle “Build a Product Landing Page”. Let’s see how that goes! Wish me luck. Happy coding.

freeCodeCamp first challenge

I finished my first freeCodeCamp challenge! OK, I know it’s not much, but I finished the first freeCodeCamp challenge. Just a little web page. I used to do this stuff in my sleep, but I was always self-taught, so it is interesting to have to code in a specific way to satisfy the test. Anyway, we had to make a tribute page, and I chose to write a little bit about Clara Campoamor, a Spanish Sufragette.

Here is a screenshot of my tribute page:

8-10-2020: Update: I went back into Codepen to check my work – always a good habit – and discovered that I had not saved it correctly. In the assignments, we are given an example of a page with similar look or functionality, and also a very general template with a testing script. As this was my first assignment, and my first time using Codepen, I did one page from scratch, straight-up HTML. But, then I could not test it. In truth, all I needed to do was copy one line of code (the script) into my document. Well, now I know that.

So, innocently, I started again, using the template this time. Well, it seems that I saved it wrong! Good thing I checked as I had submitted incomplete work! So, now I have saved it correctly, tested it, and spruced it up in the process.

Today I am going to start the third assignment: “Build a Product Landing Page”. More news later…