Chris Fretz (@chrisfretz1) 's Twitter Profile
Chris Fretz

@chrisfretz1

Front End WordPress Web Developer. Constantly trying to learn and use new skills and technologies.

ID: 885830239

calendar_today17-10-2012 02:08:42

169 Tweet

40 Followers

60 Following

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 8 of #100DaysOfCode. Today I reviewed how to declare variables in Javascript, with camel case names that clearly declare what value the variable stores. Only letters, numbers, the $ sign, & underscores are allowed when naming variables. Also practiced reassigning variables.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 9 of #100DaysofCode. Learned about the length data property and the slice method for strings in JS. Used alerts and prompts with length and slice to simulate X's character count limit in a browser alert box. This was a great way to see how practical JS can be when coding.

Day 9 of #100DaysofCode. Learned about the length data property and the slice method for strings in JS. Used alerts and prompts with length and slice to simulate X's character count limit in a browser alert box.

This was a great way to see how practical JS can be when coding.
Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 10 of #100DaysOfCode. Learned how to convert strings (or parts of strings) to uppercase and lowercase. Practiced manipulating strings with slice, length, and converting casing. I'll refactor my verbose code later. For now it's important to break down the problem into steps.

Day 10 of #100DaysOfCode. Learned how to convert strings (or parts of strings) to uppercase and lowercase. Practiced manipulating strings with slice, length, and converting casing.

I'll refactor my verbose code later. For now it's important to break down the problem into steps.
Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 11 of #100DaysOfCode. Today I reviewed basic mathematical operators in JS, including the modulo operator for finding remainders when dividing. Also covered increment and decrement expressions. Wrote some code to convert a dog's age from dog years to human years.

Day 11 of #100DaysOfCode. Today I reviewed basic mathematical operators in JS, including the modulo operator for finding remainders when dividing. Also covered increment and decrement expressions.

Wrote some code to convert a dog's age from dog years to human years.
Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 12 of #100DaysOfCode. Learned about creating and calling JavaScript functions, as well as passing parameters into them. Wrote some functions with Stanford's Karel IDE to practice.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 13 of #100DaysOfCode. Practiced more JavaScript functions with parameters. Made a function to calculate how many days, weeks, and months you have left to live (assuming a 90 yr lifespan). Also reviewed using Math.floor() for rounding numbers down.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 14 of #100DaysOfCode. One of my busiest days so far as a professional dev and feeling too tired for my course. At work, I learned about using SPF records to define the mail servers/domains that are allowed to send email on behalf of your domain. Still figuring it all out.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 15 of #100DaysOfCode. learned about returning values from functions in JavaScript. I'm also officially 25% of the way through Angela Yu's web dev course. I'm so excited I've gotten this far and I'm looking forward to learning jQuery, React, APIs, SQL, etc!

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 16 of #100DaysOfCode. Practiced returning values from functions in JavaScript by coding a BMI calculator. Finished the Intro to ES6 module of my course & started the Intermediate JS module by learning about random (actually pseudorandom) number generation with Math.random().

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 17 of #100DaysOfCode. Practiced using random numbers in JS by creating a "love calculator" that randomly generates how compatible you are with someone else after entering both people's names. Also reviewed how if-else statements and comparison operators function in JS.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 18 of #100DaysOfCode. Built on the BMI calculator from day 16 by adding an ifelse statement that displays different messages depending on the person's BMI. Started planning how to code a function to calculate whether a year is a leap year or not.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 19 of #100DaysOfCode. Attempted to write a JavaScript function checking if a year is a leap year or not. This was a lot more complicated than I thought it would be and I ended up watching the course solution. However the trying and failing taught me a lot. #KeepTrying

Day 19 of #100DaysOfCode. Attempted to write a JavaScript function checking if a year is a leap year or not. 

This was a lot more complicated than I thought it would be and I ended up watching the course solution. However the trying and failing taught me a lot. #KeepTrying
Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 20 of #100DaysOfCode. Reviewed arrays in JavaScript and added and deleted items to the end of an array using .push and .pop.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 21 of #100DaysOfCode. Yesterday I worked on a WordPress work project. Learned how to use the ACF relationship field with WP query to output only the posts from a Custom Post Type that are selected in the relationship field. 'post__in' and wp_list_pluck() are your friends.

Day 21 of #100DaysOfCode. Yesterday I worked on a WordPress work project. Learned how to use the ACF relationship field with WP query to output only the posts from a Custom Post Type that are selected in the relationship field.

'post__in' and wp_list_pluck() are your friends.
Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 22 of #100DaysOfCode. Yesterday I worked on styling a responsive HTML table. So grateful for Kevin Powell's video on this! youtube.com/watch?v=czZ1Pv…. I ended up going with his approach of using the data-cell attribute to pull the headings in as a pseudo element on mobile.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 23 of #100DaysOfCode. Took a long break, but I'm back. Today I learned about while loops in JavaScript and practiced how to create a loop that increments an integer until the integer reaches a certain number. Super basic, but good to practice the fundamentals.

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 24 of #100DaysOfCode. Yesterday played around with responsive styling for iframes. Simplest solution seems to be a parent div with position: relative & the padding-top set to the aspect ratio of the iframe, then have the iframe set to absolute with width & height: 100%; Good?

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 1 - Working on Jonas Schmedtmann's complete JavaScript course on Udemy. I learned about type conversion and coersion, as well as truthy and falsey values. JS is such a weird, quirky programming language! #100DaysOfCode

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 2 - Learned about JavaScript's equality operators, logical operators, and boolean logic. All this feels less intimidating and easy to grasp than when I first started learning about it a few years ago. #100DaysOfCode

Chris Fretz (@chrisfretz1) 's Twitter Profile Photo

Day 3 of #100DaysOfCode - I learned and practiced JavaScript switch statements, the conditional (ternary) operator, and watched a lecture on the timeline/history of JavaScript. Fascinating stuff!